|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.Classifier
public abstract class Classifier
This class defines a skeletal implementation of a classifier algorithm. A
classifier instance is responsible for creating a Model
instance during training, which in turn can be used to classify unseen
instances.
Model
Field Summary | |
---|---|
static int |
DEFAULT_MAXIMUM_UNCOVERED_CASES
The default maximum number of uncovered cases. |
static java.lang.String |
MAXIMUM_UNCOVERED_CASES
The property key under which the maximum uncovered value is stored. |
static java.lang.String |
RULE_QUALITY_FUNCTION
The property key under which the rule quality function value is stored. |
Constructor Summary | |
---|---|
Classifier(java.lang.String optionsFile)
Default constructor. |
Method Summary | |
---|---|
java.util.Properties |
filter(java.util.Properties properties)
Filters the specified properties. |
java.util.Properties |
getOptions()
Returns the configuration property options. |
abstract Model |
run(Dataset dataset)
Trains the classifier using the specified dataset. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MAXIMUM_UNCOVERED_CASES
public static final int DEFAULT_MAXIMUM_UNCOVERED_CASES
public static final java.lang.String RULE_QUALITY_FUNCTION
Constructor Detail |
---|
public Classifier(java.lang.String optionsFile)
optionsFile
- the classifier options filename.Method Detail |
---|
public java.util.Properties getOptions()
public java.util.Properties filter(java.util.Properties properties)
properties
- the framework (default) properties.
public abstract Model run(Dataset dataset)
dataset
- the training dataset.
Model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |