edu.cmu.minorthird.classify.algorithms.linear
Class KWayMixtureLearner
java.lang.Object
edu.cmu.minorthird.classify.BatchClassifierLearner
edu.cmu.minorthird.classify.algorithms.linear.KWayMixtureLearner
- All Implemented Interfaces:
- ClassifierLearner, java.lang.Cloneable
public class KWayMixtureLearner
- extends BatchClassifierLearner
- Author:
- Edoardo Airoldi
Date: Nov 14, 2004
Method Summary |
Classifier |
batchTrain(Dataset dataset)
subclasses should use this method to implement a batch supervised learning algorithm. |
ExampleSchema |
getSchema()
Returns the ExampleSchema - constraints on what the
Examples will be. |
static void |
main(java.lang.String[] args)
|
void |
setSchema(ExampleSchema schema)
Accept an ExampleSchema - constraints on what the
Examples will be. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KWayMixtureLearner
public KWayMixtureLearner()
KWayMixtureLearner
public KWayMixtureLearner(java.lang.String model)
KWayMixtureLearner
public KWayMixtureLearner(java.lang.String model,
java.lang.String parameterization)
KWayMixtureLearner
public KWayMixtureLearner(java.lang.String model,
java.lang.String parameterization,
double scale)
setSchema
public void setSchema(ExampleSchema schema)
- Description copied from interface:
ClassifierLearner
- Accept an ExampleSchema - constraints on what the
Examples will be.
getSchema
public ExampleSchema getSchema()
- Description copied from interface:
ClassifierLearner
- Returns the ExampleSchema - constraints on what the
Examples will be.
batchTrain
public Classifier batchTrain(Dataset dataset)
- Description copied from class:
BatchClassifierLearner
- subclasses should use this method to implement a batch supervised learning algorithm.
- Specified by:
batchTrain
in class BatchClassifierLearner
main
public static void main(java.lang.String[] args)