Error: Each initial covariance matrix must be symmetric and positive semidefinite.?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, I am trying to fix, a guassian mixture model to the data using the command.
obj = gmdistribution.fit(data,maxk,'Start',S,'CovType','diagonal','Options',opts, 'Regularize', 0.01);
I know the error is because the diagonal values in the covariance matrix are zero, But I use a regularize option to avoid it, but it still gives me that error. Is there any other way around this error?
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!