Uses of Enum Class
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
Methods in org.tribuo.common.nearest that return KNNTrainer.DistanceModifier and TypeMethodDescriptionstatic KNNTrainer.Distance
Deprecated.Returns the enum constant of this class with the specified name.static KNNTrainer.Distance[]
KNNTrainer.Distance.values()
Deprecated.Returns an array containing the constants of this enum class, 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) Deprecated.This Constructor is deprecated in version 4.3.