pub trait Classifier<X, Y>: Trainable<X, Y> + Predictable<X, Y> + Debug + PartialEq { }
Expand description

The Classifier trait defines the behavior of a machine learning model that is capable of classifying data points into one of several categories. This trait is composed of two other traits: Trainable and Predictable.

Implementors§

source§

impl Classifier<f32, bool> for SVMClassifier<f32, bool>

source§

impl<X, Y> Classifier<X, Y> for BayesClassifier<X, Y>where X: Float, Y: Label,

source§

impl<X, Y> Classifier<X, Y> for RandomForestClassifier<X, Y>where X: Number + FloatNumber + PartialOrd, Y: Number + Ord,

source§

impl<X, Y, C1, C2> Classifier<X, Y> for CombinedClassifier<X, Y, C1, C2>where X: Float, Y: Label + Copy, C1: Classifier<X, Y>, C2: Classifier<X, Y>,