New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make GMM model observable. #4652
Make GMM model observable. #4652
Conversation
774c6b6
to
4bbf17d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
See inline
13287b8
to
0bf28db
Compare
#![create_gmm_instance] | ||
|
||
#![add_observer] | ||
ParameterObserver obs = parameter_observer("ParameterObserverLogger") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as said in my other unrelated comment, it would be good/better if this guy used the mechanics as used in SGObject::to_string()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may update it in another PR since I do not want to bloat this one :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is almost ready imo, made a few inline comments
d21f741
to
bac22e6
Compare
* Emit log-likelihood, alphas and gaussians when using the train_em() method; * Emit log-likelihood, alphas and gaussians when using the train_smem() method; * Change m_coefficients registered name to "coefficients" and fix meta example;
framework. * Update also the associated observe() directives; * Improve GMM observable meta example;
0bf28db
to
933ff24
Compare
train_em()
method;train_smem()
method;