Uses of Interface
org.tribuo.math.distance.Distance
Packages that use Distance
Package
Description
An interface for distance computations between two
SGDVector instances
along with some standard implementations.Provides nearest neighbour query functionality.
Provides a brute-force nearest neighbour query implementation.
Provides a k-d tree nearest neighbour query implementation.
-
Uses of Distance in org.tribuo.math.distance
Classes in org.tribuo.math.distance that implement DistanceModifier and TypeClassDescriptionfinal classCosine similarity used as a distance measure.final classL1 (or Manhattan) distance.final classL2 (or Euclidean) distance.Methods in org.tribuo.math.distance that return DistanceModifier and TypeMethodDescriptionDistanceType.getDistance()Gets the Distance object specified by this enum. -
Uses of Distance in org.tribuo.math.neighbour
Methods in org.tribuo.math.neighbour that return DistanceModifier and TypeMethodDescriptionNeighboursQueryFactory.getDistance()Gets theDistanceset on this object.Methods in org.tribuo.math.neighbour with parameters of type DistanceModifier and TypeMethodDescriptionstatic NeighboursQueryFactoryNeighboursQueryFactoryType.getNeighboursQueryFactory(NeighboursQueryFactoryType nqFactoryType, Distance distance, int numThreads) Returns the appropriateNeighboursQueryFactoryimplementation. -
Uses of Distance in org.tribuo.math.neighbour.bruteforce
Methods in org.tribuo.math.neighbour.bruteforce that return DistanceConstructors in org.tribuo.math.neighbour.bruteforce with parameters of type DistanceModifierConstructorDescriptionNeighboursBruteForceFactory(Distance distance, int numThreads) Constructs a brute-force nearest neighbor query factory object using the supplied parameters. -
Uses of Distance in org.tribuo.math.neighbour.kdtree
Methods in org.tribuo.math.neighbour.kdtree that return DistanceConstructors in org.tribuo.math.neighbour.kdtree with parameters of type DistanceModifierConstructorDescriptionKDTreeFactory(Distance distance, int numThreads) Constructs a k-d tree nearest neighbor query factory object using the supplied parameters.