Class ParameterSVM
- java.lang.Object
-
- com.actelion.research.calc.regression.ParameterRegressionMethod
-
- com.actelion.research.calc.regression.svm.ParameterSVM
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParameterRegressionMethod>
public class ParameterSVM extends ParameterRegressionMethod
ParameterSVMModest v. Korff
Created by korffmo1 on 06.12.18.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_C
static java.lang.String
TAG_CACHE_SIZE
static java.lang.String
TAG_COEF0
static java.lang.String
TAG_DEGREE
static java.lang.String
TAG_EPSILON
static java.lang.String
TAG_GAMMA
static java.lang.String
TAG_KERNEL
static java.lang.String
TAG_NR_WEIGHT
static java.lang.String
TAG_NU
static java.lang.String
TAG_P
static java.lang.String
TAG_PROBABILITY
static java.lang.String
TAG_SHRINKING
static java.lang.String
TAG_SVM_TYPE
-
Fields inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
properties, TAG_NAME, TAG_STRING
-
-
Constructor Summary
Constructors Modifier Constructor Description ParameterSVM()
ParameterSVM(double nu)
ParameterSVM(ParameterSVM parameterSVM)
protected
ParameterSVM(java.lang.String nameRegressionMethod)
ParameterSVM(svm_parameter svmParameter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ParameterRegressionMethod o)
protected void
decodeProperties2Parameter()
Decodes the properties to the needed variables.boolean
equals(java.lang.Object obj)
double
getGamma()
static java.util.List<java.lang.String>
getHeader()
double
getNu()
svm_parameter
getSvmParameter()
void
setC(double C)
void
setEpsilon(double eps)
void
setGamma(double gamma)
void
setKernelType(int kernelType)
void
setNu(double nu)
void
setSVMRegressionType(int svmType)
java.lang.String
toString()
-
Methods inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
copy, getName, getProperties, read, read, setName, write, write2String
-
-
-
-
Field Detail
-
TAG_SVM_TYPE
public static final java.lang.String TAG_SVM_TYPE
- See Also:
- Constant Field Values
-
TAG_KERNEL
public static final java.lang.String TAG_KERNEL
- See Also:
- Constant Field Values
-
TAG_DEGREE
public static final java.lang.String TAG_DEGREE
- See Also:
- Constant Field Values
-
TAG_GAMMA
public static final java.lang.String TAG_GAMMA
- See Also:
- Constant Field Values
-
TAG_COEF0
public static final java.lang.String TAG_COEF0
- See Also:
- Constant Field Values
-
TAG_CACHE_SIZE
public static final java.lang.String TAG_CACHE_SIZE
- See Also:
- Constant Field Values
-
TAG_EPSILON
public static final java.lang.String TAG_EPSILON
- See Also:
- Constant Field Values
-
TAG_C
public static final java.lang.String TAG_C
- See Also:
- Constant Field Values
-
TAG_NR_WEIGHT
public static final java.lang.String TAG_NR_WEIGHT
- See Also:
- Constant Field Values
-
TAG_NU
public static final java.lang.String TAG_NU
- See Also:
- Constant Field Values
-
TAG_P
public static final java.lang.String TAG_P
- See Also:
- Constant Field Values
-
TAG_SHRINKING
public static final java.lang.String TAG_SHRINKING
- See Also:
- Constant Field Values
-
TAG_PROBABILITY
public static final java.lang.String TAG_PROBABILITY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ParameterSVM
public ParameterSVM()
-
ParameterSVM
public ParameterSVM(double nu)
-
ParameterSVM
public ParameterSVM(ParameterSVM parameterSVM)
-
ParameterSVM
public ParameterSVM(svm_parameter svmParameter)
-
ParameterSVM
protected ParameterSVM(java.lang.String nameRegressionMethod)
-
-
Method Detail
-
getSvmParameter
public svm_parameter getSvmParameter()
-
getGamma
public double getGamma()
-
getNu
public double getNu()
-
setGamma
public void setGamma(double gamma)
-
setNu
public void setNu(double nu)
-
setSVMRegressionType
public void setSVMRegressionType(int svmType)
-
setEpsilon
public void setEpsilon(double eps)
-
setKernelType
public void setKernelType(int kernelType)
-
setC
public void setC(double C)
-
compareTo
public int compareTo(ParameterRegressionMethod o)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classParameterRegressionMethod
-
decodeProperties2Parameter
protected void decodeProperties2Parameter()
Description copied from class:ParameterRegressionMethod
Decodes the properties to the needed variables.- Specified by:
decodeProperties2Parameter
in classParameterRegressionMethod
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHeader
public static java.util.List<java.lang.String> getHeader()
-
-