|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.rules.part.ClassifierDecList
weka.classifiers.rules.part.C45PruneableDecList
public class C45PruneableDecList
Class for handling a partial tree structure pruned using C4.5's pruning heuristic.
Constructor Summary | |
---|---|
C45PruneableDecList(ModelSelection toSelectLocModel,
double cf,
int minNum)
Constructor for pruneable tree structure. |
Method Summary | |
---|---|
void |
buildDecList(Instances data,
boolean leaf)
Builds the partial tree without hold out set. |
double |
getEstimatedErrorsForLeaf()
Computes estimated errors for leaf. |
java.lang.String |
getRevision()
Returns the revision string. |
Methods inherited from class weka.classifiers.rules.part.ClassifierDecList |
---|
buildRule, chooseIndex, chooseLastIndex, classifyInstance, cleanup, distributionForInstance, toString, weight |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public C45PruneableDecList(ModelSelection toSelectLocModel, double cf, int minNum) throws java.lang.Exception
toSelectLocModel
- selection method for local splitting modelcf
- the confidence factor for pruningminNum
- the minimum number of objects in a leaf
java.lang.Exception
- if something goes wrongMethod Detail |
---|
public void buildDecList(Instances data, boolean leaf) throws java.lang.Exception
buildDecList
in class ClassifierDecList
java.lang.Exception
- if something goes wrongpublic double getEstimatedErrorsForLeaf()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class ClassifierDecList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |