Introduction to Support Vectors Tutorial (Bug #2190)
Description
In the tutorial at http://opencv.itseez.com/doc/tutorials/ml/introduction_to_svm/introduction_to_svm.html, there is a small bug in the code.
On line 15:
1"Mat labelsMat(3, 1, CV_32FC1, labels);"
should be
1"Mat labelsMat(4, 1, CV_32FC1, labels);"
On line 18:
1"Mat trainingDataMat(3, 2, CV_32FC1, trainingData);"
should be
1"Mat trainingDataMat(4, 2, CV_32FC1, trainingData);"
The same bugs appear in part 1 of the explanation.
History
Updated by Marina Kolpakova over 12 years ago
- Description changed from In the tutorial at http://opencv.itseez.com/doc/tutorials/ml/introduction_to_... to In the tutorial at http://opencv.itseez.com/doc/tutorials/ml/introduction_to_... More
Updated by Marina Kolpakova over 12 years ago
- Target version set to 2.4.3
- Status changed from Open to Done
- Assignee changed from Maria Dimashova to Marina Kolpakova