|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulb.mlg.utils.measure.VarianceOfLogRatios
public class VarianceOfLogRatios
Variance of log ratios scaled to [0;1]: 1-exp(-sqrt(D(x,y))) according to Aitchison where D(X,Y) is the Variance of log ratios.
| Field Summary |
|---|
| Fields inherited from interface be.ac.ulb.mlg.utils.Measure |
|---|
ERROR_VALUE |
| Constructor Summary | |
|---|---|
VarianceOfLogRatios()
|
|
| 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 |
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 VarianceOfLogRatios()
| 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 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 | |||||||||