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, toStringpublic String globalInfo()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandlerpublic Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class RegOptimizerpublic 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 OptionHandlersetOptions in class RegOptimizeroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class RegOptimizerpublic String epsilonTipText()
public double getEpsilon()
public void setEpsilon(double v)
v - Value to assign to epsilon.public void optimize()
throws Exception
Exceptionpublic void buildClassifier(Instances instances) throws Exception
buildClassifier in class RegOptimizerinstances - the data to learn fromException - if something goes wrongpublic String getRevision()
getRevision in interface RevisionHandlergetRevision in class RegOptimizerCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.