public interface KernelSVM<T> extends Classifier<T>
Modifier and Type | Method and Description |
---|---|
double[] |
getAlphas()
Tells the weights of training samples
|
double |
getC()
Tells the hyperparameter C
|
Kernel<T> |
getKernel()
Tells the current Kernel.
|
void |
setC(double c)
Sets the hyperparameter C
|
void |
setKernel(Kernel<T> k)
Sets the kernel to use as similarity measure
|
copy, train, train, valueOf
void setKernel(Kernel<T> k)
k
- the kernel functiondouble[] getAlphas()
void setC(double c)
c
- the hyperparameter Cdouble getC()