From fe5bc4ab74c4ae0e362a66ec4a427b1c5571f825 Mon Sep 17 00:00:00 2001 From: JordanCheney Date: Wed, 21 Jan 2015 16:50:58 -0500 Subject: [PATCH] Now we assume a 0 threshold --- openbr/openbr_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 0d91e37..d5a941f 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -1402,7 +1402,7 @@ public: static Classifier *make(QString str, QObject *parent); /*!< \brief Make a classifier from a string. */ virtual void train(const QList &images, const QList &labels) = 0; // By convention, classify should return a value normalized such that the threshold is 0. Negative values - // can be interpreted as negative samples while positives values are positive samples. + // can be interpreted as a negative classification and positive values as a positive classification. virtual float classify(const cv::Mat &image) const = 0; }; -- libgit2 0.21.4