public class PeakRTFeatureVectorComparator extends Object implements IFeatureVectorComparator
| Constructor and Description |
|---|
PeakRTFeatureVectorComparator(double delta) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSquaredDiff(IFeatureVector gt,
IFeatureVector test)
NaN's are treated as 0, giving a large distance for x!
|
boolean |
isFN(IFeatureVector gt,
IFeatureVector test) |
boolean |
isFP(IFeatureVector gt,
IFeatureVector test) |
boolean |
isTN(IFeatureVector gt,
IFeatureVector test) |
boolean |
isTP(IFeatureVector gt,
IFeatureVector test) |
public boolean isFN(IFeatureVector gt, IFeatureVector test)
isFN in interface IFeatureVectorComparatorpublic boolean isFP(IFeatureVector gt, IFeatureVector test)
isFP in interface IFeatureVectorComparatorpublic boolean isTN(IFeatureVector gt, IFeatureVector test)
isTN in interface IFeatureVectorComparatorpublic boolean isTP(IFeatureVector gt, IFeatureVector test)
isTP in interface IFeatureVectorComparatorpublic double getSquaredDiff(IFeatureVector gt, IFeatureVector test)
getSquaredDiff in interface IFeatureVectorComparatorgt - test - Copyright © 2007-2013. All Rights Reserved.