public class ResidualModelSelection extends ModelSelection
Constructor and Description |
---|
ResidualModelSelection(int minNumInstances)
Constructor to create ResidualModelSelection object.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Method not in use
|
java.lang.String |
getRevision()
Returns the revision string.
|
ClassifierSplitModel |
selectModel(Instances train)
Method not in use
|
ClassifierSplitModel |
selectModel(Instances data,
double[][] dataZs,
double[][] dataWs)
Selects split based on residuals for the given dataset.
|
ClassifierSplitModel |
selectModel(Instances train,
Instances test)
Method not in use
|
public ResidualModelSelection(int minNumInstances)
minNumInstances
- minimum number of instances for leavespublic void cleanup()
public final ClassifierSplitModel selectModel(Instances data, double[][] dataZs, double[][] dataWs) throws java.lang.Exception
java.lang.Exception
public final ClassifierSplitModel selectModel(Instances train)
selectModel
in class ModelSelection
public final ClassifierSplitModel selectModel(Instances train, Instances test)
selectModel
in class ModelSelection
public java.lang.String getRevision()