Skip to content

Commit

Permalink
Updated JPMML-XGBoost dependency. Fixes jpmml/sklearn2pmml#402
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Dec 11, 2023
1 parent ddfc8fe commit 65c85ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public <E extends Estimator & HasBooster & HasXGBoostOptions> PMML encodePMML(E
Learner learner = getLearner(estimator);

FeatureMap featureMap = learner.encodeFeatureMap();
if(featureMap == null){
throw new IllegalArgumentException();
}

// XXX
Map<String, ?> options = estimator.getNativeConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-xgboost</artifactId>
<version>1.7.4</version>
<version>1.8.0</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 65c85ec

Please sign in to comment.