public class TreeModelManager extends ModelManager<TreeModel> implements HasEntityRegistry<Node>
| Constructor and Description |
|---|
TreeModelManager() |
TreeModelManager(PMML pmml) |
TreeModelManager(PMML pmml,
TreeModel treeModel) |
| Modifier and Type | Method and Description |
|---|---|
Node |
addNode(Node parentNode,
String id,
Predicate predicate)
Adds a new Node to the specified Node.
|
Node |
addNode(String id,
Predicate predicate)
Adds a new Node to the root Node.
|
TreeModel |
createModel(MiningFunctionType miningFunction) |
com.google.common.collect.BiMap<String,Node> |
getEntityRegistry()
Takes the snapshot of all known (ie.
|
TreeModel |
getModel() |
ScoreDistribution |
getOrAddScoreDistribution(Node node,
String value) |
Node |
getRoot() |
String |
getSummary()
Returns a short description of the underlying
Model |
addField, addMiningField, getActiveFields, getGroupFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOrCreateTargets, getOutputField, getOutputFields, getPredictedFields, getTarget, getTargetField, resolveFieldaddDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmml, resolveFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataFieldpublic TreeModelManager()
public TreeModelManager(PMML pmml)
public String getSummary()
ConsumerModelgetSummary in interface Consumerpublic TreeModel getModel()
getModel in class ModelManager<TreeModel>public TreeModel createModel(MiningFunctionType miningFunction)
getModel()public Node getRoot()
public com.google.common.collect.BiMap<String,Node> getEntityRegistry()
HasEntityRegistrygetEntityRegistry in interface HasEntityRegistry<Node>Entity identifiers and Entity instances.public Node addNode(String id, Predicate predicate)
id - Unique identifiergetEntityRegistry()public Node addNode(Node parentNode, String id, Predicate predicate)
id - Unique identifiergetEntityRegistry()public ScoreDistribution getOrAddScoreDistribution(Node node, String value)
Copyright © 2013 University of Tartu. All Rights Reserved.