gmdistribution.fit returning negative NlogL value
显示 更早的评论
Under what conditions would this occur? It seems to be nonsensical, from a mathematical perspective... what might it be doing from a Matlab perspective?
I'm fitting a million 4-d samples on a distribution with two "humps" that have a finite kurtosis so aren't quite gaussians but pretty close. with two or three component mixtures the results are pretty good and NlogL is positive. The third component just picks up some leftovers due to not quite gaussianity of my data. With 4 or more components, the results still look pretty good--two good components, the rest pick up leftovers. However, the NlogL (and BIC and AIC) are now negative... What am I to make of this?
In real data I won't know how many "humps" are in my data so I can't just set the number of components to two ahead of time.
thanks, Mike
回答(1 个)
Tobin
2013-12-3
0 个投票
I have got the same problem, but I haven't found any answer yet.
类别
在 帮助中心 和 File Exchange 中查找有关 Gaussian Mixture Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!