public class N_Metric extends QualityMeasure
| Constructor and Description | 
|---|
| N_Metric()Constructs a new NMetric with a default root of two. | 
| N_Metric(double root)Constructs a new NMetric with a customized root. | 
| 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. | 
| double | distanceToZero(MultiTable.Block.Column x,
              double defaultValue) | 
| double | getRoot()Returns the n of the metric. | 
| void | setRoot(double root)Sets the root. | 
distance, distance, getColumnDistances, getDefaultValue, getMaxAbsDistances, getMeanFunction, setDefaultValue, setMeanFunctionpublic N_Metric()
public N_Metric(double root)
root - public double distance(MultiTable.Block.Column x, MultiTable.Block.Column y, double defaultValue)
QualityMeasureDouble.NaN values are also ignored.distance in class QualityMeasurex - an arrayy - another arraydefaultValue - The value to be returned in cases in which no distance computation is
                     possible.public double getRoot()
public void setRoot(double root)
root - public double distanceToZero(MultiTable.Block.Column x, double defaultValue)
x - expecteddefaultValue - Copyright © 2007–2021. All rights reserved.