public class C45PruneableDecList extends ClassifierDecList
| Constructor and Description |
|---|
C45PruneableDecList(ModelSelection toSelectLocModel,
double cf,
int minNum)
Constructor for pruneable tree structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildDecList(Instances data,
boolean leaf)
Builds the partial tree without hold out set.
|
double |
getEstimatedErrorsForLeaf()
Computes estimated errors for leaf.
|
String |
getRevision()
Returns the revision string.
|
buildRule, chooseIndex, chooseLastIndex, classifyInstance, cleanup, distributionForInstance, toString, weightpublic C45PruneableDecList(ModelSelection toSelectLocModel, double cf, int minNum) throws Exception
toSelectLocModel - selection method for local splitting modelcf - the confidence factor for pruningminNum - the minimum number of objects in a leafException - if something goes wrongpublic void buildDecList(Instances data, boolean leaf) throws Exception
buildDecList in class ClassifierDecListException - if something goes wrongpublic double getEstimatedErrorsForLeaf()
public String getRevision()
getRevision in interface RevisionHandlergetRevision in class ClassifierDecListCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.