Module datarush.analytics
Class ClassificationScheme.Distance
java.lang.Object
com.pervasive.datarush.analytics.knn.ClassificationScheme.Distance
- Enclosing class:
- ClassificationScheme
Representation of the distance between two points.
Internally, nearness may be represented using values which are computationally cheaper while preserving distance information and ordering. This allows the true distance to be determined lazily, on an as-needed basis.
-
Method Summary
-
Method Details
-
getDistance
public double getDistance()Gets the actual distance.- Returns:
- the distance value
-