public class SvmSolution extends Object
Further details can be found in:
[CC Chang & CJ Lin, 2011] Chih-Chung Chang and Chih-Jen Lin. LIBSVM: A library for support vector machines. ACM Transactions on Intelligent Systems and Technology, 2:27:1-27:27, 2011.
and
http://www.csie.ntu.edu.tw/~cjlin/libsvm/
Constructor and Description |
---|
SvmSolution() |
Modifier and Type | Method and Description |
---|---|
float[] |
getAlphas() |
float |
getObj() |
float |
getRho() |
float |
getUpper_bound_n() |
float |
getUpper_bound_p() |
protected void |
setAlphas(float[] alphas) |
void |
setObj(float obj) |
void |
setRho(float rho) |
void |
setUpper_bound_n(float upper_bound_n)
Set the \(C_n\) value
|
void |
setUpper_bound_p(float upper_bound_p)
Set the \(C_p\) value
|
public float[] getAlphas()
public float getObj()
public float getRho()
public float getUpper_bound_n()
public float getUpper_bound_p()
protected void setAlphas(float[] alphas)
alphas
- the weight of the Support Vectorspublic void setObj(float obj)
obj
- The Objective Valuepublic void setRho(float rho)
rho
- The bias term (-b)public void setUpper_bound_n(float upper_bound_n)
upper_bound_n
- the \(C_n\) valuepublic void setUpper_bound_p(float upper_bound_p)
upper_bound_n
- the \(C_p\) valueCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.