org.jdmp.libsvm
Class SVMClassifier

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.libsvm.SVMClassifier
All Implemented Interfaces:
Serializable, Cloneable, org.jdmp.core.algorithm.Algorithm, org.jdmp.core.algorithm.classification.Classifier, org.jdmp.core.algorithm.HasAlgorithmMap, org.jdmp.core.algorithm.HasAlgorithms, org.jdmp.core.algorithm.regression.Regressor, org.jdmp.core.CoreObject, org.jdmp.core.variable.HasVariableMap, org.jdmp.core.variable.HasVariables, Clearable, HasDescription, HasGUIObject, HasLabel

public class SVMClassifier
extends org.jdmp.core.algorithm.classification.AbstractClassifier

See Also:
Serialized Form

Nested Class Summary
static class SVMClassifier.Kernel
           
 
Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm
org.jdmp.core.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
SVMClassifier()
           
SVMClassifier(SVMClassifier.Kernel kernel)
           
 
Method Summary
 org.jdmp.core.algorithm.classification.Classifier emptyCopy()
           
 Matrix predict(Matrix input, Matrix weight)
           
 void reset()
           
 void train(Matrix input, Matrix sampleWeight, Matrix targetOutput)
           
 void train(org.jdmp.core.dataset.RegressionDataSet dataSet)
           
 
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.regression.Regressor
predict, predict, predict, train, train
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 

Constructor Detail

SVMClassifier

public SVMClassifier()

SVMClassifier

public SVMClassifier(SVMClassifier.Kernel kernel)
Method Detail

train

public void train(org.jdmp.core.dataset.RegressionDataSet dataSet)
           throws MatrixException
Specified by:
train in interface org.jdmp.core.algorithm.regression.Regressor
Specified by:
train in class org.jdmp.core.algorithm.regression.AbstractRegressor
Throws:
MatrixException

predict

public Matrix predict(Matrix input,
                      Matrix weight)
               throws MatrixException
Specified by:
predict in interface org.jdmp.core.algorithm.regression.Regressor
Specified by:
predict in class org.jdmp.core.algorithm.regression.AbstractRegressor
Throws:
MatrixException

train

public void train(Matrix input,
                  Matrix sampleWeight,
                  Matrix targetOutput)
           throws Exception
Specified by:
train in interface org.jdmp.core.algorithm.regression.Regressor
Specified by:
train in class org.jdmp.core.algorithm.regression.AbstractRegressor
Throws:
Exception

reset

public void reset()
           throws MatrixException
Specified by:
reset in interface org.jdmp.core.algorithm.regression.Regressor
Specified by:
reset in class org.jdmp.core.algorithm.regression.AbstractRegressor
Throws:
MatrixException

emptyCopy

public org.jdmp.core.algorithm.classification.Classifier emptyCopy()


Copyright © 2009. All Rights Reserved.