Class OpenCVClassifiers.BoostClassifier

java.lang.Object
qupath.opencv.ml.OpenCVClassifiers.OpenCVStatModel
qupath.opencv.ml.OpenCVClassifiers.BoostClassifier
Enclosing class:
OpenCVClassifiers

public static class OpenCVClassifiers.BoostClassifier extends OpenCVClassifiers.OpenCVStatModel
Classifier based on Boost.
  • Method Summary

    Modifier and Type
    Method
    Description
    createTrainData(Mat samples, Mat targets, Mat weights, boolean doMulticlass)
    Create training data in the format required by this classifier.
    User-friendly, readable name for the classifier
    qupath.lib.plugins.parameters.ParameterList
    Retrieve a list of adjustable parameter that can be used to customize the classifier.
    protected int
     
    boolean
    Classifier has already been trained and is ready to predict.
    void
    predict(Mat samples, Mat results, Mat probabilities)
    Default implementation calling
    protected void
    predictWithLock(Mat samples, Mat results, Mat probabilities)
    Implement predictWithLock rather than predict to ensure predict is not called while training.
    boolean
    Returns true (the default value).
    boolean
    Tree classifiers in OpenCV support missing values, others do not.
    boolean
    Returns false (the default value).
    boolean
    Classifier can output a prediction confidence (expressed between 0 and 1), so may be interpreted as a probability...
     
    void
    train(TrainData trainData)
    Train the classifier using data in an appropriate format.
    void
    Implement trainWithLock rather than train directly to ensure a lock is set when training, which can be used to prevent prediction occurring simultaneously.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait