public class RegSMO extends RegOptimizer implements TechnicalInformationHandler
@misc{Smola1998, author = {A.J. Smola and B. Schoelkopf}, note = {NeuroCOLT2 Technical Report NC2-TR-1998-030}, title = {A tutorial on support vector regression}, year = {1998} }Valid options are:
-P <double> The epsilon for round-off error. (default 1.0e-12)
-L <double> The epsilon parameter in epsilon-insensitive loss function. (default 1.0e-3)
-W <double> The random number seed. (default 1)
m_alpha, m_alphaStar
Constructor and Description |
---|
RegSMO()
default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances instances)
learn SVM parameters from data using Smola's SMO algorithm.
|
java.lang.String |
epsilonTipText()
Returns the tip text for this property
|
double |
getEpsilon()
Get the value of epsilon.
|
java.lang.String[] |
getOptions()
Gets the current settings of the classifier.
|
java.lang.String |
getRevision()
Returns the revision string.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed
information about the technical background of this class, e.g., paper
reference or book this class is based on.
|
java.lang.String |
globalInfo()
Returns a string describing classifier
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options
|
void |
optimize()
finds alpha and alpha* parameters that optimize the SVM target function
|
void |
setEpsilon(double v)
Set the value of epsilon.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
epsilonParameterTipText, getCacheHits, getEpsilonParameter, getKernelEvaluations, getSeed, modelBuilt, seedTipText, setEpsilonParameter, setSeed, setSMOReg, SVMOutput, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
makeCopy
public java.lang.String globalInfo()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
public java.util.Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class RegOptimizer
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-P <double> The epsilon for round-off error. (default 1.0e-12)
-L <double> The epsilon parameter in epsilon-insensitive loss function. (default 1.0e-3)
-W <double> The random number seed. (default 1)
setOptions
in interface OptionHandler
setOptions
in class RegOptimizer
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class RegOptimizer
public java.lang.String epsilonTipText()
public double getEpsilon()
public void setEpsilon(double v)
v
- Value to assign to epsilon.public void optimize() throws java.lang.Exception
java.lang.Exception
public void buildClassifier(Instances instances) throws java.lang.Exception
buildClassifier
in class RegOptimizer
instances
- the data to learn fromjava.lang.Exception
- if something goes wrongpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class RegOptimizer