org.jdmp.core.algorithm.classification.meta
Class SemiSupervisedEM

java.lang.Object
  extended by org.jdmp.core.AbstractCoreObject
      extended by org.jdmp.core.algorithm.AbstractAlgorithm
          extended by org.jdmp.core.algorithm.regression.AbstractRegressor
              extended by org.jdmp.core.algorithm.classification.AbstractClassifier
                  extended by org.jdmp.core.algorithm.classification.meta.SemiSupervisedEM
All Implemented Interfaces:
Serializable, Cloneable, Algorithm, Classifier, SemiSupervisedClassifier, HasAlgorithmMap, HasAlgorithms, Regressor, CoreObject, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasLabel

public class SemiSupervisedEM
extends AbstractClassifier
implements SemiSupervisedClassifier

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm
Algorithm.EdgeDirection
 
Field Summary
 
Fields inherited from class org.jdmp.core.algorithm.regression.AbstractRegressor
mode, OUTPUTERRORALGORITHM, PREDICT, TRAIN
 
Fields inherited from class org.jdmp.core.AbstractCoreObject
ALL, COLUMN, logger, ROW, X, Y, Z
 
Fields inherited from interface org.jdmp.core.algorithm.regression.Regressor
DIFFERENCE, INPUT, PREDICTED, RMSE, WEIGHT
 
Fields inherited from interface org.jdmp.core.algorithm.Algorithm
ALGORITHMARRAY, DIMENSION, IGNORENAN, SOURCE, TARGET
 
Constructor Summary
SemiSupervisedEM(Classifier singleClassClassifier, boolean useRawPrediction)
           
 
Method Summary
 Classifier emptyCopy()
           
 Matrix predict(Matrix input, Matrix sampleWeight)
           
 void reset()
           
 void train(Matrix input, Matrix sampleWeight, Matrix targetOutput)
           
 void train(RegressionDataSet dataSet)
           
 void train(RegressionDataSet labeledData, RegressionDataSet unlabeledData)
           
 
Methods inherited from class org.jdmp.core.algorithm.regression.AbstractRegressor
getMode, getOutputErrorAlgorithm, predict, predict, predict, setMode, setOutputErrorAlgorithm, train, train
 
Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithms, getAsString, getDescription, getEdgeDirection, getEdgeLabel, getGUIObject, getInputKeys, getLabel, getMatrix, getOutputKeys, getVariableKeys, getVariables, notifyGUIObject, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setLabel, setMatrix, setObject, setVariable, setVariables, setVariables, toString
 
Methods inherited from class org.jdmp.core.AbstractCoreObject
showGUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdmp.core.algorithm.classification.meta.SemiSupervisedClassifier
predict
 
Methods inherited from interface org.jdmp.core.algorithm.regression.Regressor
predict, predict, predict, train, train
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 

Constructor Detail

SemiSupervisedEM

public SemiSupervisedEM(Classifier singleClassClassifier,
                        boolean useRawPrediction)
Method Detail

predict

public Matrix predict(Matrix input,
                      Matrix sampleWeight)
               throws Exception
Specified by:
predict in interface SemiSupervisedClassifier
Specified by:
predict in interface Regressor
Specified by:
predict in class AbstractRegressor
Throws:
Exception

reset

public void reset()
           throws Exception
Specified by:
reset in interface SemiSupervisedClassifier
Specified by:
reset in interface Regressor
Specified by:
reset in class AbstractRegressor
Throws:
Exception

train

public void train(RegressionDataSet dataSet)
           throws Exception
Specified by:
train in interface Regressor
Specified by:
train in class AbstractRegressor
Throws:
Exception

train

public void train(RegressionDataSet labeledData,
                  RegressionDataSet unlabeledData)
           throws Exception
Specified by:
train in interface SemiSupervisedClassifier
Throws:
Exception

emptyCopy

public Classifier emptyCopy()
                     throws Exception
Specified by:
emptyCopy in interface Classifier
Specified by:
emptyCopy in interface SemiSupervisedClassifier
Specified by:
emptyCopy in interface Regressor
Throws:
Exception

train

public void train(Matrix input,
                  Matrix sampleWeight,
                  Matrix targetOutput)
           throws Exception
Specified by:
train in interface Regressor
Specified by:
train in class AbstractRegressor
Throws:
Exception


Copyright © 2009. All Rights Reserved.