Effacer les filtres
Effacer les filtres

gmdistribution question

3 vues (au cours des 30 derniers jours)
Sam Da
Sam Da le 19 Nov 2011
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

Réponse acceptée

Walter Roberson
Walter Roberson le 19 Nov 2011
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.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by