public class TreeModelManager extends ModelManager<TreeModel> implements EntityRegistry<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 |
createClassificationModel() |
TreeModel |
createModel(MiningFunctionType miningFunction) |
Map<String,Node> |
getEntities() |
TreeModel |
getModel() |
ScoreDistribution |
getOrAddScoreDistribution(Node node,
String value) |
Node |
getRoot() |
String |
getSummary()
Returns a short description of the underlying
Model |
addField, addMiningField, ensureNotNull, ensureNull, getActiveFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOutputField, getOutputFields, getPredictedFields, getTarget, putEntity, resolveaddDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmmlclone, 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 createClassificationModel()
public TreeModel createModel(MiningFunctionType miningFunction)
getModel()public Node getRoot()
public Map<String,Node> getEntities()
getEntities in interface EntityRegistry<Node>Entity instances.public Node addNode(String id, Predicate predicate)
id - Unique identifiergetEntities()public Node addNode(Node parentNode, String id, Predicate predicate)
id - Unique identifiergetEntities()public ScoreDistribution getOrAddScoreDistribution(Node node, String value)
Copyright © 2013 University of Tartu. All Rights Reserved.