Serializable
public class PearsonCorrelation extends QualityMeasure
defaultValue, meanFunction
Constructor | Description |
---|---|
PearsonCorrelation() |
Default constructor.
|
PearsonCorrelation(double defaultValue) |
Constructor, which allows setting the parameter value for default value.
|
Modifier and Type | Method | Description |
---|---|---|
double |
distance(MultiTable.Block.Column x,
MultiTable.Block.Column y,
double defaultValue) |
Returns the distance of the two vectors x and y with the given root.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance, distance, getColumnDistances, getDefaultValue, getMeanFunction, setDefaultValue, setMeanFunction
public PearsonCorrelation()
public PearsonCorrelation(double defaultValue)
defaultValue
- the default valuepublic double distance(MultiTable.Block.Column x, MultiTable.Block.Column y, double defaultValue)
QualityMeasure
Double.NaN
values are also ignored.distance
in class QualityMeasure
x
- an arrayy
- another arraydefaultValue
- The value to be returned in cases in which no distance
computation is possible.Copyright © 2007–2018. All rights reserved.