Skip to content

Commit

Permalink
Updated JPMML-Converter dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vruusmann committed Aug 22, 2022
1 parent ad73dee commit ac2ec74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected MiningModel createMiningModel(List<RegTree> trees, List<Float> weights

MiningModel miningModel = new MiningModel(MiningFunction.REGRESSION, ModelUtil.createMiningSchema(continuousLabel))
.setMathContext(MathContext.FLOAT)
.setSegmentation(MiningModelUtil.createSegmentation(equalWeights ? Segmentation.MultipleModelMethod.SUM : Segmentation.MultipleModelMethod.WEIGHTED_SUM, treeModels, weights))
.setSegmentation(MiningModelUtil.createSegmentation(equalWeights ? Segmentation.MultipleModelMethod.SUM : Segmentation.MultipleModelMethod.WEIGHTED_SUM, Segmentation.MissingPredictionTreatment.RETURN_MISSING, treeModels, weights))
.setTargets(ModelUtil.createRescaleTargets(null, intercept, continuousLabel));

return miningModel;
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,18 @@
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-converter</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-converter-testing</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>

<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-evaluator-testing</artifactId>
<version>1.6.3</version>
<version>1.6.4</version>
</dependency>

<dependency>
Expand Down

0 comments on commit ac2ec74

Please sign in to comment.