Documentation of 'smile.classification.OnlineClassifier' Java class
OnlineClassifier
smile.classification

Interface OnlineClassifier<T>

  • Type Parameters:
    T - the type of input object
    All Superinterfaces:
    Classifier<T>
    All Known Implementing Classes:
    NaiveBayes, NeuralNetwork, SVM


    public interface OnlineClassifier<T>
    extends Classifier<T>
    Classifier with online learning capability. Online learning is a model of induction that learns one instance at a time. More formally, an online algorithm proceeds in a sequence of trials.
    • Method Detail

      • learn

        void learn(T x,
                   int y)
        Online update the classifier with a new training instance. In general, this method may be NOT multi-thread safe.
        Parameters:
        x - training instance.
        y - training label.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.