org.dmg.pmml.tree.CountingLeafNode Java Examples
The following examples show how to use
org.dmg.pmml.tree.CountingLeafNode.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AppPMMLUtilsTest.java From oryx with Apache License 2.0 | 5 votes |
private static PMML buildDummyModel() { Node node = new CountingLeafNode().setRecordCount(123.0); TreeModel treeModel = new TreeModel(MiningFunction.CLASSIFICATION, null, node); PMML pmml = PMMLUtils.buildSkeletonPMML(); pmml.addModels(treeModel); return pmml; }
Example #2
Source File: PMMLUtilsTest.java From oryx with Apache License 2.0 | 5 votes |
public static PMML buildDummyModel() { Node node = new CountingLeafNode().setRecordCount(123.0); TreeModel treeModel = new TreeModel(MiningFunction.CLASSIFICATION, null, node); PMML pmml = PMMLUtils.buildSkeletonPMML(); pmml.addModels(treeModel); return pmml; }