public class TreeModelManager extends ModelManager<TreeModel>
| Constructor and Description |
|---|
TreeModelManager() |
TreeModelManager(PMML pmml) |
TreeModelManager(PMML pmml,
TreeModel treeModel) |
| Modifier and Type | Method and Description |
|---|---|
Node |
addNode(Node parentNode,
Predicate predicate)
Adds a new Node to the specified Node.
|
Node |
addNode(Predicate predicate)
Adds a new Node to the root Node.
|
TreeModel |
createClassificationModel() |
TreeModel |
createModel(MiningFunctionType miningFunction) |
TreeModel |
getModel() |
ScoreDistribution |
getOrAddScoreDistribution(Node node,
String value) |
Node |
getOrCreateRoot() |
String |
getSummary()
Returns a short description of the underlying
Model |
addField, addMiningField, ensureNotNull, ensureNull, getActiveFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOutputField, getOutputFields, getPredictedFields, getTarget, 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()
ConsumerModelpublic TreeModel getModel()
getModel in class ModelManager<TreeModel>public TreeModel createClassificationModel()
public TreeModel createModel(MiningFunctionType miningFunction)
ModelManagerException - If the Model already existsgetModel()public Node getOrCreateRoot()
public Node addNode(Predicate predicate)
getOrCreateRoot()public Node addNode(Node parentNode, Predicate predicate)
public ScoreDistribution getOrAddScoreDistribution(Node node, String value)
Copyright © 2013 University of Tartu. All Rights Reserved.