public class TreeModelEvaluator extends ModelEvaluator<org.dmg.pmml.tree.TreeModel> implements HasNodeRegistry
DEFAULT_TARGET_NAME| Constructor and Description |
|---|
TreeModelEvaluator(org.dmg.pmml.PMML pmml) |
TreeModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.tree.TreeModel treeModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<org.dmg.pmml.FieldName,?> |
evaluate(ModelEvaluationContext context) |
com.google.common.collect.BiMap<String,org.dmg.pmml.tree.Node> |
getEntityRegistry() |
List<org.dmg.pmml.tree.Node> |
getPath(String id) |
List<org.dmg.pmml.tree.Node> |
getPathBetween(String parentId,
String childId) |
String |
getSummary()
Gets a short description of the
Model. |
configure, createInputFields, createInputFields, createMiningSchemaException, createOutputFields, createTargetFields, ensureScorableModel, ensureValueFactory, evaluate, getActiveFields, getConfiguration, getDataField, getDataField, getDefineFunction, getDerivedField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getPMML, getTarget, getTargetField, getTargetFieldName, getTargetFields, getValue, getValue, getValueFactory, isPrimitive, resolveDerivedField, resolveField, verifypublic TreeModelEvaluator(org.dmg.pmml.PMML pmml)
public TreeModelEvaluator(org.dmg.pmml.PMML pmml,
org.dmg.pmml.tree.TreeModel treeModel)
public String getSummary()
Evaluator
Gets a short description of the Model.
getSummary in interface Evaluatorpublic com.google.common.collect.BiMap<String,org.dmg.pmml.tree.Node> getEntityRegistry()
getEntityRegistry in interface HasEntityRegistry<org.dmg.pmml.tree.Node>Entity identifiers and Entity instances.public List<org.dmg.pmml.tree.Node> getPath(String id)
getPath in interface HasNodeRegistryroot node to the specified node.public List<org.dmg.pmml.tree.Node> getPathBetween(String parentId, String childId)
getPathBetween in interface HasNodeRegistrypublic Map<org.dmg.pmml.FieldName,?> evaluate(ModelEvaluationContext context)
evaluate in class ModelEvaluator<org.dmg.pmml.tree.TreeModel>Copyright © 2018. All rights reserved.