question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update package XGBoost

See original GitHub issue

Hi, I am trying to load an XGBClassifier model saved in a .json format from an Android app using Chaquopy but I get the following error: com.chaquo.python.PyException: XGBoostError: [21:21:49] xgboost/include/xgboost/json.h:65: Invalid cast, from Null to Array I think that I have spotted the problem, which is the version of XGBoost supported by Chaquopy (1.1.1). Indeed, the latest version is 1.4.2 and the possibility to load models from .json files was introduced in 1.3.0 if I did not misunderstand. Would it be possible to have an update of the package supported by Chaquopy? Best regards.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mhsmithcommented, Jul 12, 2021

OK, thanks for letting me know. I’ll leave the issue open, and if anyone else needs an update of XGBoost, please click the thumbs up button above and leave a comment explaining why you need it.

0reactions
mhsmithcommented, Aug 31, 2022

If anyone wants to try building the new version, follow the instructions here. And if you’re successful, please make a pull request so we can add the new version to the public repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Guide — xgboost 1.7.2 documentation
Installation Guide . XGBoost provides binary packages for some language bindings. The binary packages support the GPU algorithm ( gpu_hist ) on...
Read more >
xgboost - PyPI
XGBoost Python Package. ... pip install xgboost. Copy PIP instructions. Latest version. Released: Dec 8, 2022. XGBoost Python Package ...
Read more >
CRAN - Package xgboost - R Project
xgboost : Extreme Gradient Boosting ... Extreme Gradient Boosting, which is an efficient implementation of the gradient boosting framework from ...
Read more >
Releases · dmlc/xgboost - GitHub
This is a patch release for bug fixes and Spark barrier mode support. The R package is unchanged. Experimental support for categorical data....
Read more >
Xgboost - :: Anaconda.org
conda-forge / packages / xgboost 1.7.1. 31 · License: Apache-2.0 · 3461885 total downloads · Last upload: 1 month and 15 days ago ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found