public class PearsonCorrelation extends QualityMeasure
Constructor and Description |
---|
PearsonCorrelation()
Default constructor.
|
PearsonCorrelation(double defaultValue)
Constructor, which allows setting the parameter value for default value.
|
Modifier and Type | Method and 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.
|
distance, distance, getColumnDistances, getDefaultValue, getMaxAbsDistances, 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–2021. All rights reserved.