Class RegSMOImproved
java.lang.Object
weka.classifiers.functions.supportVector.RegOptimizer
weka.classifiers.functions.supportVector.RegSMO
weka.classifiers.functions.supportVector.RegSMOImproved
- All Implemented Interfaces:
Serializable
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
Learn SVM for regression using SMO with Shevade,
Keerthi, et al. adaption of the stopping criterion.
For more information see:
S.K. Shevade, S.S. Keerthi, C. Bhattacharyya, K.R.K. Murthy: Improvements to the SMO Algorithm for SVM Regression. In: IEEE Transactions on Neural Networks, 1999.
S.K. Shevade, S.S. Keerthi, C. Bhattacharyya, K.R.K. Murthy (1999). Improvements to the SMO Algorithm for SVM Regression. Control Division, Dept. of Mechanical Engineering. BibTeX:
For more information see:
S.K. Shevade, S.S. Keerthi, C. Bhattacharyya, K.R.K. Murthy: Improvements to the SMO Algorithm for SVM Regression. In: IEEE Transactions on Neural Networks, 1999.
S.K. Shevade, S.S. Keerthi, C. Bhattacharyya, K.R.K. Murthy (1999). Improvements to the SMO Algorithm for SVM Regression. Control Division, Dept. of Mechanical Engineering. BibTeX:
@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)
- Version:
- $Revision: 10169 $
- Author:
- Remco Bouckaert (remco@cs.waikato.ac.nz,rrb@xm.co.nz)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class weka.classifiers.functions.supportVector.RegOptimizer
m_alpha, m_alphaStar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildClassifier
(Instances instances) learn SVM parameters from data using Keerthi's SMO algorithm.String[]
Gets the current settings of the object.Returns the revision string.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
returns the current toleranceReturns a string describing the objectboolean
Whether variant 1 is usedReturns an enumeration describing the available optionsvoid
setOptions
(String[] options) Parses a given list of options.void
setTolerance
(double d) sets the tolerancevoid
setUseVariant1
(boolean b) Sets whether to use variant 1Returns the tip text for this propertyReturns the tip text for this propertyMethods inherited from class weka.classifiers.functions.supportVector.RegSMO
epsilonTipText, getEpsilon, optimize, setEpsilon
Methods inherited from class weka.classifiers.functions.supportVector.RegOptimizer
epsilonParameterTipText, getCacheHits, getEpsilonParameter, getKernelEvaluations, getSeed, modelBuilt, seedTipText, setEpsilonParameter, setSeed, setSMOReg, SVMOutput, toString
-
Field Details
-
I0
public static final int I0- See Also:
-
I0a
public static final int I0a- See Also:
-
I0b
public static final int I0b- See Also:
-
I1
public static final int I1- See Also:
-
I2
public static final int I2- See Also:
-
I3
public static final int I3- See Also:
-
-
Constructor Details
-
RegSMOImproved
public RegSMOImproved()
-
-
Method Details
-
globalInfo
Returns a string describing the object- Overrides:
globalInfo
in classRegSMO
- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
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.- Specified by:
getTechnicalInformation
in interfaceTechnicalInformationHandler
- Overrides:
getTechnicalInformation
in classRegSMO
- Returns:
- the technical information about this class
-
listOptions
Returns an enumeration describing the available options- Specified by:
listOptions
in interfaceOptionHandler
- Overrides:
listOptions
in classRegSMO
- Returns:
- an enumeration of all the available options
-
setOptions
Parses a given list of options. 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)
- Specified by:
setOptions
in interfaceOptionHandler
- Overrides:
setOptions
in classRegSMO
- Parameters:
options
- the list of options as an array of strings- Throws:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the object.- Specified by:
getOptions
in interfaceOptionHandler
- Overrides:
getOptions
in classRegSMO
- Returns:
- an array of strings suitable for passing to setOptions
-
toleranceTipText
Returns the tip text for this property- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
getTolerance
public double getTolerance()returns the current tolerance- Returns:
- the tolerance
-
setTolerance
public void setTolerance(double d) sets the tolerance- Parameters:
d
- the new tolerance
-
useVariant1TipText
Returns the tip text for this property- Returns:
- a description suitable for displaying in the explorer/experimenter gui
-
isUseVariant1
public boolean isUseVariant1()Whether variant 1 is used- Returns:
- true if variant 1 is used
-
setUseVariant1
public void setUseVariant1(boolean b) Sets whether to use variant 1- Parameters:
b
- if true then variant 1 is used
-
buildClassifier
learn SVM parameters from data using Keerthi's SMO algorithm. Subclasses should implement something more interesting.- Overrides:
buildClassifier
in classRegSMO
- Parameters:
instances
- the data to work with- Throws:
Exception
- if something goes wrong
-
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Overrides:
getRevision
in classRegSMO
- Returns:
- the revision
-