Introduction to Support Vectors Tutorial (Bug #2190)


Added by Bryan He over 12 years ago. Updated over 12 years ago.


Status:Done Start date:2012-07-24
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

Category:ml
Target version:2.4.3 Estimated time:0.10 hour
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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.


Associated revisions

Revision b0caa588
Added by Andrey Pavlenko about 11 years ago

Merge pull request #2190 from KonstantinMatskevich:ocl_dumpinfo

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

Also available in: Atom PDF