类 RegSMO
java.lang.Object
weka.classifiers.functions.supportVector.RegOptimizer
weka.classifiers.functions.supportVector.RegSMO
- 直接已知子类:
RegSMOImproved
Implementation of SMO for support vector regression as described in :
A.J. Smola, B. Schoelkopf (1998). A tutorial on support vector regression. BibTeX:
A.J. Smola, B. Schoelkopf (1998). A tutorial on support vector regression. BibTeX:
@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)
- 版本:
- $Revision: 1.4 $
- 作者:
- Remco Bouckaert (remco@cs.waikato.ac.nz,rrb@xm.co.nz)
- 另请参阅:
-
字段概要
从类继承的字段 weka.classifiers.functions.supportVector.RegOptimizer
m_alpha, m_alphaStar
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
buildClassifier
(Instances instances) learn SVM parameters from data using Smola's SMO algorithm.Returns the tip text for this propertydouble
Get the value of epsilon.String[]
Gets the current settings of the classifier.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.Returns a string describing classifierReturns an enumeration describing the available optionsvoid
optimize()
finds alpha and alpha* parameters that optimize the SVM target functionvoid
setEpsilon
(double v) Set the value of epsilon.void
setOptions
(String[] options) Parses a given list of options.从类继承的方法 weka.classifiers.functions.supportVector.RegOptimizer
epsilonParameterTipText, getCacheHits, getEpsilonParameter, getKernelEvaluations, getSeed, modelBuilt, seedTipText, setEpsilonParameter, setSeed, setSMOReg, SVMOutput, toString
-
构造器详细资料
-
RegSMO
public RegSMO()default constructor
-
-
方法详细资料
-
globalInfo
Returns a string describing classifier- 返回:
- 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.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
listOptions
Returns an enumeration describing the available options- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中RegOptimizer
- 返回:
- an enumeration of all the available options
-
setOptions
Parses a given list of options. 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)
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中RegOptimizer
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the classifier.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中RegOptimizer
- 返回:
- an array of strings suitable for passing to setOptions
-
epsilonTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
getEpsilon
public double getEpsilon()Get the value of epsilon.- 返回:
- Value of epsilon.
-
setEpsilon
public void setEpsilon(double v) Set the value of epsilon.- 参数:
v
- Value to assign to epsilon.
-
optimize
finds alpha and alpha* parameters that optimize the SVM target function- 抛出:
Exception
-
buildClassifier
learn SVM parameters from data using Smola's SMO algorithm. Subclasses should implement something more interesting.- 覆盖:
buildClassifier
在类中RegOptimizer
- 参数:
instances
- the data to learn from- 抛出:
Exception
- if something goes wrong
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中RegOptimizer
- 返回:
- the revision
-