Uses of Enum Class
org.tribuo.common.nearest.KNNModel.Backend
Packages that use KNNModel.Backend
Package
Description
Provides a K-Nearest Neighbours implementation which works across
all Tribuo
Output
types.-
Uses of KNNModel.Backend in org.tribuo.common.nearest
Fields in org.tribuo.common.nearest declared as KNNModel.BackendMethods in org.tribuo.common.nearest that return KNNModel.BackendModifier and TypeMethodDescriptionstatic KNNModel.Backend
Returns the enum constant of this class with the specified name.static KNNModel.Backend[]
KNNModel.Backend.values()
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 KNNModel.BackendModifierConstructorDescriptionKNNTrainer
(int k, int numThreads, EnsembleCombiner<T> combiner, KNNModel.Backend backend, NeighboursQueryFactory neighboursQueryFactory) Creates a K-NN trainer using the supplied parameters.KNNTrainer
(int k, KNNTrainer.Distance distance, int numThreads, EnsembleCombiner<T> combiner, KNNModel.Backend backend) Deprecated.This Constructor is deprecated in version 4.3.KNNTrainer
(int k, Distance dist, int numThreads, EnsembleCombiner<T> combiner, KNNModel.Backend backend, NeighboursQueryFactoryType nqFactoryType) Creates a K-NN trainer using the supplied parameters.