Closed axemixer closed 1 year ago
The exception is raised by the org.jpmml.xgboost.Learner
component, so this issue belongs to the JPMML-XGBoost project (not to SkLearn2PMML project).
Exception in thread "main" java.lang.IllegalArgumentException: 1730313018.1919250021 at org.jpmml.xgboost.Learner.load(Learner.java:81)
Now, let's jump to the line 81 of the Learner
class:
https://github.com/jpmml/jpmml-xgboost/blob/1.7.1/pmml-xgboost/src/main/java/org/jpmml/xgboost/Learner.java#L81
Sorry, this line is a Java field declaration (without any initializer statement), and can't throw any Java exceptions.
What is probably happening, is that you're using some very outdated JPMML-XGBoost library version to parse a very recent XGBoost model version.
Update your software, and everything will be fine.
Hi ,
Model was created on xgboost version '1.5.0'
My sklearn2pmml package version is 0.66.0.
Inside sklearn2pmml folder , jpmml-xgboost-1.4.4.jar.
Which software should I update ?
My sklearn2pmml package version is 0.66.0.
Released in January, 2021.
Which software should I update ?
I'll leave that exercise to you.
Hi ,
In below code I'm trying to load pkl file and convert it to the pmml document.
But I have an error like below