Uses of Enum
org.tribuo.common.nearest.KNNModel.Backend
-
Uses of KNNModel.Backend in org.tribuo.common.nearest
Subclasses with type arguments of type KNNModel.Backend in org.tribuo.common.nearestModifier and TypeClassDescriptionstatic enumThe parallel backend for batch predictions.Fields in org.tribuo.common.nearest declared as KNNModel.BackendMethods in org.tribuo.common.nearest that return KNNModel.BackendModifier and TypeMethodDescriptionstatic KNNModel.BackendReturns the enum constant of this type with the specified name.static KNNModel.Backend[]KNNModel.Backend.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 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.