public abstract class ModelSelection extends java.lang.Object implements java.io.Serializable, RevisionHandler
Constructor and Description |
---|
ModelSelection() |
Modifier and Type | Method and Description |
---|---|
abstract ClassifierSplitModel |
selectModel(Instances data)
Selects a model for the given dataset.
|
ClassifierSplitModel |
selectModel(Instances train,
Instances test)
Selects a model for the given train data using the given test data
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRevision
public abstract ClassifierSplitModel selectModel(Instances data) throws java.lang.Exception
java.lang.Exception
- if model can't be selectedpublic ClassifierSplitModel selectModel(Instances train, Instances test) throws java.lang.Exception
java.lang.Exception
- if model can't be selected