public class HilbertSchmidt extends java.lang.Object implements Measure
ERROR_VALUE| Constructor and Description |
|---|
HilbertSchmidt()
Initializing the Hilbert-Schmidt independence criterion to use the Gaussian Kernel
|
HilbertSchmidt(Kernel kernelA,
Kernel kernelB)
Initializing the Hilbert-Schmidt independence criterion with specified kernels
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNativeImplementation()
Know if the measure owns a native implementation
|
double |
measure(double[] A,
double[] B,
boolean[] computable)
Compute the measure between two data vectors
|
static double |
norm(double[] A,
double[] B,
boolean[] computable) |
boolean |
requireDataTransformation()
Know if the measure need to transform input data (input data are copied to be preserved)
|
void |
transform(double[][] data)
The transformation method called before measurement
|
public HilbertSchmidt(Kernel kernelA, Kernel kernelB)
kernelA - kernel for the first vector valueskernelA - kernel for the second vector valuespublic HilbertSchmidt()
public double measure(double[] A,
double[] B,
boolean[] computable)
Measurepublic static double norm(double[] A,
double[] B,
boolean[] computable)
public boolean hasNativeImplementation()
MeasurehasNativeImplementation in interface Measurepublic boolean requireDataTransformation()
MeasurerequireDataTransformation in interface Measure