|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.liacs.subdisc.CorrelationMeasure
public class CorrelationMeasure
Constructor Summary | |
---|---|
CorrelationMeasure(CorrelationMeasure theBase)
|
|
CorrelationMeasure(int theType,
Column thePrimaryColumn,
Column theSecondaryColumn)
|
Method Summary | |
---|---|
void |
addObservation(double theYValue,
double theXValue)
Adds a new observation after which the current correlation will be outdated. |
static boolean |
compareEMValues(double theFirstValue,
double theSecondValue)
TODO: Make use of CorrelationMeasure being comparable |
int |
compareTo(CorrelationMeasure theOtherCorrelationMeasure)
|
double |
computeCorrelationDistance()
Computes the difference between the correlations of this subset and its complement |
double |
computeEntropy()
The correlation distance between the subset and its complement is weighted with the entropy. |
double |
getComplementCorrelation()
Returns the correlation value for the complement of this subset. |
double |
getCorrelation()
Returns the correlation given the observations contained by CorrelationMeasure |
double |
getEvaluationMeasureValue()
There are different types of quality measures possible all closely related the correlation value. |
double |
getPValue()
TODO Verify whether solution is the same when z1 - z2 and z2 - z1 |
int |
getSampleSize()
|
double |
getXSquaredSum()
|
double |
getXSum()
|
double |
getXYSum()
|
double |
getYSquaredSum()
|
double |
getYSum()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CorrelationMeasure(int theType, Column thePrimaryColumn, Column theSecondaryColumn)
public CorrelationMeasure(CorrelationMeasure theBase) throws java.lang.NullPointerException
java.lang.NullPointerException
Method Detail |
---|
public void addObservation(double theYValue, double theXValue)
theXValue
- the x-value of an observationtheYValue
- the y-value of an observationpublic double getCorrelation()
public double computeCorrelationDistance()
public int getSampleSize()
public double getXSum()
public double getYSum()
public double getXYSum()
public double getXSquaredSum()
public double getYSquaredSum()
public int compareTo(CorrelationMeasure theOtherCorrelationMeasure)
public double getEvaluationMeasureValue()
public static boolean compareEMValues(double theFirstValue, double theSecondValue)
theFirstValue
- the first parameter to be comparedtheSecondValue
- the second parameter to be compared
public double getComplementCorrelation()
public double getPValue()
public double computeEntropy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |