|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.classify.Classifier cc.mallet.classify.DecisionTree
public class DecisionTree
Decision Tree classifier.
Nested Class Summary | |
---|---|
static class |
DecisionTree.Node
|
Field Summary | |
---|---|
double |
addFeaturesClassEntropyThreshold
|
Fields inherited from class cc.mallet.classify.Classifier |
---|
instancePipe |
Constructor Summary | |
---|---|
DecisionTree(Pipe instancePipe,
DecisionTree.Node root)
|
Method Summary | |
---|---|
Classification |
classify(Instance instance)
|
DecisionTree.Node |
getRoot()
|
void |
induceFeatures(InstanceList ilist,
boolean withFeatureShrinkage,
boolean inducePerClassFeatures)
|
Methods inherited from class cc.mallet.classify.Classifier |
---|
alphabetsMatch, classify, classify, classify, getAccuracy, getAlphabet, getAlphabets, getAverageRank, getF1, getF1, getF1, getFeatureSelection, getInstancePipe, getLabelAlphabet, getPerClassFeatureSelection, getPrecision, getPrecision, getPrecision, getRecall, getRecall, getRecall, print, print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double addFeaturesClassEntropyThreshold
Constructor Detail |
---|
public DecisionTree(Pipe instancePipe, DecisionTree.Node root)
Method Detail |
---|
public DecisionTree.Node getRoot()
public Classification classify(Instance instance)
classify
in class Classifier
public void induceFeatures(InstanceList ilist, boolean withFeatureShrinkage, boolean inducePerClassFeatures)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |