public class HellingerKernel extends java.lang.Object implements MercerKernel<double[]>
| Constructor and Description |
|---|
HellingerKernel()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
hi()
Returns the upper bound of hyperparameters.
|
double[] |
hyperparameters()
Returns the hyperparameters for tuning.
|
double |
k(double[] x,
double[] y)
Kernel function.
|
double[] |
kg(double[] x,
double[] y)
Computes the kernel and its gradient over hyperparameters.
|
double[] |
lo()
Returns the lower bound of hyperparameters.
|
LinearKernel |
of(double[] params)
Returns the same kind kernel with the new hyperparameters.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, applyAsDouble, K, K, KGpublic java.lang.String toString()
toString in class java.lang.Objectpublic double k(double[] x,
double[] y)
MercerKernelk in interface MercerKernel<double[]>public double[] kg(double[] x,
double[] y)
MercerKernelkg in interface MercerKernel<double[]>public LinearKernel of(double[] params)
MercerKernelof in interface MercerKernel<double[]>public double[] hyperparameters()
MercerKernelhyperparameters in interface MercerKernel<double[]>public double[] lo()
MercerKernello in interface MercerKernel<double[]>public double[] hi()
MercerKernelhi in interface MercerKernel<double[]>