|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.functions.supportVector.RegOptimizer
weka.classifiers.functions.supportVector.RegSMO
weka.classifiers.functions.supportVector.RegSMOImproved
public class RegSMOImproved
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.
@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)
| Field Summary | |
|---|---|
static int |
I0
|
static int |
I0a
|
static int |
I0b
|
static int |
I1
|
static int |
I2
|
static int |
I3
|
| Fields inherited from class weka.classifiers.functions.supportVector.RegOptimizer |
|---|
m_alpha, m_alphaStar |
| Constructor Summary | |
|---|---|
RegSMOImproved()
|
|
| Method Summary | |
|---|---|
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 |
| Methods 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public RegSMOImproved()
| Method Detail |
|---|
public java.lang.String globalInfo()
globalInfo in class RegSMOpublic TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandlergetTechnicalInformation in class RegSMOpublic java.util.Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions 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 OptionHandlersetOptions in class RegSMOoptions - the list of options as an array of strings
java.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class RegSMOpublic 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 used
public void buildClassifier(Instances instances)
throws java.lang.Exception
buildClassifier in class RegSMOinstances - the data to work with
java.lang.Exception - if something goes wrongpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class RegSMO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||