Class ClassificationScheme.Distance

java.lang.Object
com.pervasive.datarush.analytics.knn.ClassificationScheme.Distance
Enclosing class:
ClassificationScheme

public static class ClassificationScheme.Distance extends Object
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 Details

    • getDistance

      public double getDistance()
      Gets the actual distance.
      Returns:
      the distance value