public class BinC45ModelSelection extends ModelSelection
Constructor and Description |
---|
BinC45ModelSelection(int minNoObj,
Instances allData)
Initializes the split selection method with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Sets reference to training data to null.
|
java.lang.String |
getRevision()
Returns the revision string.
|
ClassifierSplitModel |
selectModel(Instances data)
Selects C4.5-type split for the given dataset.
|
ClassifierSplitModel |
selectModel(Instances train,
Instances test)
Selects C4.5-type split for the given dataset.
|
public BinC45ModelSelection(int minNoObj, Instances allData)
minNoObj
- minimum number of instances that have to occur in
at least two subsets induced by splitallData
- FULL training dataset (necessary for selection of
split points).public void cleanup()
public final ClassifierSplitModel selectModel(Instances data)
selectModel
in class ModelSelection
public final ClassifierSplitModel selectModel(Instances train, Instances test)
selectModel
in class ModelSelection
public java.lang.String getRevision()