error in results of EM::COV_MAT_DIAGONAL (Bug #1939)


Added by Furqan Khan almost 13 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-05-15
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

Category:ml
Target version:2.4.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Whenever, I try EM::COV_MAT_DIAGONAL to train my Gaussian Mixture models, the covariance matrix turns out to be all zeros. However, using EM::COV_MAT_GENERIC returns covariance matrix as expected.

I am using r8282 compiled using VS 2008 on Windows 7.


Associated revisions

Revision 28297c02
Added by Maria Dimashova almost 13 years ago

fixed Mat::diag (#1939)

History

Updated by Kirill Kornyakov almost 13 years ago

  • Category set to ml

Updated by Andrey Kamaev almost 13 years ago

  • Assignee set to Maria Dimashova

Updated by Maria Dimashova almost 13 years ago

Thanks a lot for the report. The problem was in cv::Mat::diag(). It was fixed in r8385.

  • Status changed from Open to Done

Updated by Andrey Kamaev almost 13 years ago

  • Target version set to 2.4.1

Updated by Furqan Khan almost 13 years ago

Yup. It works now.
Thanks

Also available in: Atom PDF