weka.classifiers.trees.j48
Class ModelSelection
- java.lang.Object
-
- weka.classifiers.trees.j48.ModelSelection
-
- All Implemented Interfaces:
- java.io.Serializable, RevisionHandler
- Direct Known Subclasses:
- BinC45ModelSelection, C45ModelSelection, NBTreeModelSelection, ResidualModelSelection
public abstract class ModelSelection extends java.lang.Object implements java.io.Serializable, RevisionHandler
Abstract class for model selection criteria.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ModelSelection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract ClassifierSplitModelselectModel(Instances data)Selects a model for the given dataset.ClassifierSplitModelselectModel(Instances train, Instances test)Selects a model for the given train data using the given test data-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface weka.core.RevisionHandler
getRevision
-
-
-
-
Method Detail
-
selectModel
public abstract ClassifierSplitModel selectModel(Instances data) throws java.lang.Exception
Selects a model for the given dataset.- Throws:
java.lang.Exception- if model can't be selected
-
selectModel
public ClassifierSplitModel selectModel(Instances train, Instances test) throws java.lang.Exception
Selects a model for the given train data using the given test data- Throws:
java.lang.Exception- if model can't be selected
-
-
DataMelt 3.0 © DataMelt by jWork.ORG