public class Relative_N_Metric extends QualityMeasure
N_Metric distance.| Constructor and Description |
|---|
Relative_N_Metric()
Default constructor
|
Relative_N_Metric(double root)
Initialization with a certain n
|
Relative_N_Metric(N_Metric metric)
Initialization with a given
N_Metric |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(MultiTable.Block.Column x,
MultiTable.Block.Column expected,
double defaultValue)
Returns the distance of the two vectors x and y with the given root.
|
void |
setDefaultValue(double value)
Set the value to be returned by the distance function in cases, in which no distance can be
computed.
|
void |
setRoot(double root)
Sets the root
|
distance, distance, getColumnDistances, getDefaultValue, getMaxAbsDistances, getMeanFunction, setMeanFunctionpublic Relative_N_Metric()
public Relative_N_Metric(double root)
root - public double distance(MultiTable.Block.Column x, MultiTable.Block.Column expected, double defaultValue)
QualityMeasureDouble.NaN values are also ignored.distance in class QualityMeasurex - an arrayexpected - another arraydefaultValue - The value to be returned in cases in which no distance computation is
possible.public void setDefaultValue(double value)
QualityMeasuresetDefaultValue in class QualityMeasurepublic void setRoot(double root)
root - Copyright © 2007–2021. All rights reserved.