|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.mine.svm.kernel.RBFKernel
public class RBFKernel
RBF Kernel.
Constructor Summary | |
---|---|
RBFKernel()
|
Method Summary | |
---|---|
boolean |
areValid(double[] params)
are these parameters ok to be used? |
double |
evaluate(double[] a,
double[] b)
returns the value of the kernel given vectors a and b. |
double |
evaluate(DoubleVector a,
DoubleVector b)
evaluate the kernel. |
double |
getDefaultParameter(int index)
return the default parameter at the given index. |
int |
getNumberParameters()
just 1 parameter (sigma). |
double |
getParameter(int index)
return the given parameter. |
String |
getParameterName(int index)
get the name of the parameter. |
KernelFactory.KernelType |
getType()
|
void |
setParameter(int index,
double value)
set the given parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RBFKernel()
Method Detail |
---|
public double evaluate(DoubleVector a, DoubleVector b)
evaluate
in interface Kernel
a
- first vectorb
- second vector
DoubleVector
public double evaluate(double[] a, double[] b)
evaluate
in interface Kernel
a
- the first vectorb
- the second vector
public int getNumberParameters()
getNumberParameters
in interface Kernel
Kernel.getNumberParameters()
public String getParameterName(int index)
getParameterName
in interface Kernel
index
- must be 0
Kernel.getParameterName(int)
public boolean areValid(double[] params)
areValid
in interface Kernel
params
- the bias and power
Kernel.areValid(double[])
public double getDefaultParameter(int index)
getDefaultParameter
in interface Kernel
index
- the parameter index.
public void setParameter(int index, double value)
setParameter
in interface Kernel
index
- must be 0value
- which valueKernel.setParameter(int, double)
public double getParameter(int index)
getParameter
in interface Kernel
index
- must be 0
Kernel.getParameter(int)
public KernelFactory.KernelType getType()
getType
in interface Kernel
KernelFactory.KernelType
of the Kernel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |