2017-01-08 23:25:42 -0600 | received badge | ● Editor (source) |
2017-01-08 22:19:23 -0600 | commented answer | How to modify EM to show loglikelihood every iteration yeah they are part of that class, i call them from my own programm where i included opencv. |
2017-01-08 21:50:03 -0600 | commented answer | How to modify EM to show loglikelihood every iteration i was able to "access" my code now, but it is crashing, so i guess my code i wrote in the 1st comment isnt working :/ |
2017-01-08 21:05:12 -0600 | asked a question | How to modify EM to show loglikelihood every iteration Hello, i'm having troubles changing the source code for em algorithm. The em algorithm in opencv gives loglikelihood values for every data point. I would like to get the sum of the loglikelihood values for every iteration of the em algorithm. I have tried to modify "opencv\sources\modules\ml\src\em.cpp" by adding : After rebuilding i couldnt use this function, it was not "there", so i added to "opencv\sources\modules\ml\include\opencv2\ml.hpp" my lines : but the result is crashing when i sue that function. I'm calling the function in my own program through this code: thank you for your help. |