Class ModelSelection
- java.lang.Object
-
- org.processmining.plugins.workshop.Yaguang.WekaDiscriminationTree.ModelSelection
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BinC45ModelSelection,C45ModelSelection
public abstract class ModelSelection extends java.lang.Object implements java.io.SerializableAbstract class for model selection criteria.- Version:
- $Revision: 1.5 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelSelection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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
-
-
-
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
-
-