From f54b80d2c84bc825384d6e29bf38daba511d6a60 Mon Sep 17 00:00:00 2001 From: TobyWanKenobi Date: Wed, 3 Dec 2014 17:13:11 +0100 Subject: [PATCH] Re-edition of documentation Re-edited the documentation again. --- modules/ml/include/opencv2/ml.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ml/include/opencv2/ml.hpp b/modules/ml/include/opencv2/ml.hpp index 060776224f..8e61c63a11 100644 --- a/modules/ml/include/opencv2/ml.hpp +++ b/modules/ml/include/opencv2/ml.hpp @@ -828,7 +828,6 @@ public: } /** @brief Loads model from an XML String - @param strModel The string variable containing the model (in an XML format) you want to load. This is static template method of StatModel. It's usage is following (in the case of SVM): @@ -841,7 +840,7 @@ public: model->read(fs.getFirstTopLevelNode()); return model->isTrained() ? model : Ptr<_Tp>(); } - + template static Ptr<_Tp> train(const Ptr& data, const typename _Tp::Params& p, int flags=0) { Ptr<_Tp> model = _Tp::create(p);