weka.classifiers.neural.lvq.vectordistance
Interface AttributeDistance
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ClassDistance, NominalDistance, NumericDistance, OtherDistance
public interface AttributeDistance
- extends java.io.Serializable
Description: Common interface used to calculate an attributes distance. The smaller
the distance value, the closer the values match
Copyright (c) Jason Brownlee 2004
- Author:
- Jason Brownlee
|
Method Summary |
double |
distance(double instanceValue,
double codebookValue)
Distance between attribute values, lower the distnace the closer the values |
distance
double distance(double instanceValue,
double codebookValue)
- Distance between attribute values, lower the distnace the closer the values
- Parameters:
instanceValue - codebookValue -
- Returns: