Skip to content

Commit

Permalink
Updated JPMML-XGBoost dependency
Browse files Browse the repository at this point in the history
See commit 2b86b14
  • Loading branch information
vruusmann committed Apr 30, 2024
1 parent 11daeaa commit 7f4a7f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,8 @@ public MiningModel encodeModel(Schema schema){
options.put(HasXGBoostOptions.OPTION_COMPACT, Boolean.TRUE);
options.put(HasXGBoostOptions.OPTION_NUMERIC, Boolean.TRUE);

Schema xgbSchema = learner.configureSchema(options, schema);
Schema xgbSchema = learner.toXGBoostSchema(schema);

MiningModel miningModel = learner.encodeModel(options, xgbSchema);

miningModel = learner.configureModel(options, miningModel);

return miningModel;
return learner.encodeModel(options, xgbSchema);
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-xgboost</artifactId>
<version>1.8.4</version>
<version>1.8.5</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 7f4a7f3

Please sign in to comment.