|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umass.cs.mallet.base.classify.Classifier
edu.umass.cs.mallet.base.classify.C45
A C4.5 Decision Tree classifier.
C45Trainer,
Serialized Form| Nested Class Summary | |
static class |
C45.Node
|
| Field Summary |
| Fields inherited from class edu.umass.cs.mallet.base.classify.Classifier |
instancePipe |
| Constructor Summary | |
C45(Pipe instancePipe,
C45.Node root)
|
|
| Method Summary | |
Classification |
classify(Instance instance)
|
C45.Node |
getRoot()
|
int |
getSize()
|
void |
print()
Prints the tree |
void |
prune()
Prune the tree using minimum description length |
| Methods inherited from class edu.umass.cs.mallet.base.classify.Classifier |
classify, classify, classify, getAccuracy, getAccuracy, getAlphabet, getF1, getF1, getF1, getF1, getInstancePipe, getLabelAlphabet, getPrecision, getPrecision, getPrecision, getPrecision, getRecall, getRecall, getRecall, getRecall, print |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public C45(Pipe instancePipe,
C45.Node root)
| Method Detail |
public C45.Node getRoot()
public Classification classify(Instance instance)
classify in class Classifierpublic void prune()
public int getSize()
public void print()
print in class Classifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||