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.
|
String |
epsilonTipText()
Returns the tip text for this property
|
double |
getEpsilon()
Get the value of epsilon.
|
String[] |
getOptions()
Gets the current settings of the classifier.
|
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.
|
String |
globalInfo()
Returns a string describing classifier
|
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(String[] options)
Parses a given list of options.
|
epsilonParameterTipText, getCacheHits, getEpsilonParameter, getKernelEvaluations, getSeed, modelBuilt, seedTipText, setEpsilonParameter, setSeed, setSMOReg, SVMOutput, toString
public String globalInfo()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
public Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class RegOptimizer
public void setOptions(String[] options) throws 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 stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class RegOptimizer
public String epsilonTipText()
public double getEpsilon()
public void setEpsilon(double v)
v
- Value to assign to epsilon.public void optimize() throws Exception
Exception
public void buildClassifier(Instances instances) throws Exception
buildClassifier
in class RegOptimizer
instances
- the data to learn fromException
- if something goes wrongpublic String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class RegOptimizer
Copyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.