|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.classifiers.rules.part.ClassifierDecList | +--weka.classifiers.rules.part.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. |
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London