Uses of Enum
org.tribuo.common.nearest.KNNTrainer.Distance
Packages that use KNNTrainer.Distance
Package
Description
Provides a K-Nearest Neighbours implementation which works across
all Tribuo
Output types.-
Uses of KNNTrainer.Distance in org.tribuo.common.nearest
Subclasses with type arguments of type KNNTrainer.Distance in org.tribuo.common.nearestModifier and TypeClassDescriptionstatic enumThe available distance functions.Fields in org.tribuo.common.nearest declared as KNNTrainer.DistanceMethods in org.tribuo.common.nearest that return KNNTrainer.DistanceModifier and TypeMethodDescriptionstatic KNNTrainer.DistanceReturns the enum constant of this type with the specified name.static KNNTrainer.Distance[]KNNTrainer.Distance.values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.tribuo.common.nearest with parameters of type KNNTrainer.DistanceModifierConstructorDescriptionKNNTrainer(int k, KNNTrainer.Distance distance, int numThreads, EnsembleCombiner<T> combiner, KNNModel.Backend backend) Creates a K-NN trainer using the supplied parameters.