gmdistribution question

1 次查看(过去 30 天)
Sam Da
Sam Da 2011-11-19
Is there a way I can print NlogL after each iteration instead just at the end of convergence with obj = gmdistribution.fit(X,k)
Thanks guys

采纳的回答

Walter Roberson
Walter Roberson 2011-11-19
options = statset('Display','iter');
obj = gmdistribution.fit(X,k,options);
If that does not work, you could try the statset option OutputFcn . I cannot tell at the moment what input arguments are passed to those functions.

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by