public class RegSMOImproved extends RegSMO implements TechnicalInformationHandler
@inproceedings{Shevade1999, author = {S.K. Shevade and S.S. Keerthi and C. Bhattacharyya and K.R.K. Murthy}, booktitle = {IEEE Transactions on Neural Networks}, title = {Improvements to the SMO Algorithm for SVM Regression}, year = {1999}, PS = {http://guppy.mpe.nus.edu.sg/\~mpessk/svm/ieee_smo_reg.ps.gz} } @techreport{Shevade1999, address = {Control Division, Dept. of Mechanical Engineering}, author = {S.K. Shevade and S.S. Keerthi and C. Bhattacharyya and K.R.K. Murthy}, institution = {National University of Singapore}, number = {CD-99-16}, title = {Improvements to the SMO Algorithm for SVM Regression}, year = {1999}, PS = {http://guppy.mpe.nus.edu.sg/\~mpessk/svm/smoreg_mod.ps.gz} }Valid options are:
-T <double> The tolerance parameter for checking the stopping criterion. (default 0.001)
-V Use variant 1 of the algorithm when true, otherwise use variant 2. (default true)
-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)
Modifier and Type | Field and Description |
---|---|
static int |
I0 |
static int |
I0a |
static int |
I0b |
static int |
I1 |
static int |
I2 |
static int |
I3 |
m_alpha, m_alphaStar
Constructor and Description |
---|
RegSMOImproved() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances instances)
learn SVM parameters from data using Keerthi's SMO algorithm.
|
java.lang.String[] |
getOptions()
Gets the current settings of the object.
|
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.
|
double |
getTolerance()
returns the current tolerance
|
java.lang.String |
globalInfo()
Returns a string describing the object
|
boolean |
isUseVariant1()
Whether variant 1 is used
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setTolerance(double d)
sets the tolerance
|
void |
setUseVariant1(boolean b)
Sets whether to use variant 1
|
java.lang.String |
toleranceTipText()
Returns the tip text for this property
|
java.lang.String |
useVariant1TipText()
Returns the tip text for this property
|
epsilonTipText, getEpsilon, optimize, setEpsilon
epsilonParameterTipText, getCacheHits, getEpsilonParameter, getKernelEvaluations, getSeed, modelBuilt, seedTipText, setEpsilonParameter, setSeed, setSMOReg, SVMOutput, toString
public static final int I0
public static final int I0a
public static final int I0b
public static final int I1
public static final int I2
public static final int I3
public java.lang.String globalInfo()
globalInfo
in class RegSMO
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
getTechnicalInformation
in class RegSMO
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class RegSMO
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-T <double> The tolerance parameter for checking the stopping criterion. (default 0.001)
-V Use variant 1 of the algorithm when true, otherwise use variant 2. (default true)
-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 RegSMO
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 RegSMO
public java.lang.String toleranceTipText()
public double getTolerance()
public void setTolerance(double d)
d
- the new tolerancepublic java.lang.String useVariant1TipText()
public boolean isUseVariant1()
public void setUseVariant1(boolean b)
b
- if true then variant 1 is usedpublic void buildClassifier(Instances instances) throws java.lang.Exception
buildClassifier
in class RegSMO
instances
- the data to work withjava.lang.Exception
- if something goes wrongpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class RegSMO