|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulb.mlg.utils.measure.HilbertSchmidt
public class HilbertSchmidt
Compute the Hilbert-Schmidt independence criterion according to the estimate in the paper "On Kernel Parameter Selection in Hilbert-Schmidt Independence Criterion" p.3
| Field Summary |
|---|
| Fields inherited from interface be.ac.ulb.mlg.utils.Measure |
|---|
ERROR_VALUE |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HilbertSchmidt(Kernel kernelA,
Kernel kernelB)
kernelA - kernel for the first vector valueskernelA - kernel for the second vector valuespublic HilbertSchmidt()
| Method Detail |
|---|
public double measure(double[] A,
double[] B,
boolean[] computable)
Measure
measure in interface MeasureA - The first data vectorB - The second data vectorcomputable - Boolean vector set to true except for indexes they must be ignored during the measurement
public static double norm(double[] A,
double[] B,
boolean[] computable)
public boolean hasNativeImplementation()
Measure
hasNativeImplementation in interface Measurepublic boolean requireDataTransformation()
Measure
requireDataTransformation in interface Measurepublic void transform(double[][] data)
Measure
transform in interface Measuredata - An input data vector to be measured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||