0

In the Internet, there are many code examples for C ++ or Python. But there is not a single example in C #.

I tried it myself and got an error.

 EM em = EM.Create();
 em.ClustersNumber = 2;
 em.CovarianceMatrixType = (int) EM.Types.CovMatGeneric; // <=System.AccessViolationException
 em.TermCriteria = new TermCriteria(type: CriteriaType.MaxIter, maxCount: 1500, epsilon: 0.001);

What is my problem? Can someone help with a working example on the topic of Expectation Maximization?

Jeru Luke
  • 20,118
  • 13
  • 80
  • 87
T2k
  • 11
  • 3

0 Answers0