-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG+1] Give dpgmm a covars_ property, allows for sampling #4182
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
Conversation
6cdce0d
to
fe2d298
Compare
Fixes #4187 |
Wait, did no-one touch this for two years (and two years to the DAY lol) and then the two of us did a fix within 10 hours? |
fe2d298
to
ee3a745
Compare
I'm not 100% certain about property vs attribute. The benefit of the property is that if the user overwrites |
Yesterday, i have downloaded sklearn for the DPGMM class which i would like to use in my program. I called the sample method and got an error. After reading the issue #1637 and #2784, i decided to fix it (this is my first proposal in open source project). I have test it by sampling a lot points and calculate the covariances to see if they match the covariances learned by DPGMM). When i finished submitting following the instructions of git, i found you have fixed it using same approach 10 hours ago! Please forgive my poor English. |
To clarify (not sure if we are on the same page), |
I agree with you. I will pull more requests. You are very nice, it's very nice to discuss with you! |
ee3a745
to
fd32243
Compare
Sorry I put my comments on a specific commit instead of the PR diff view... Anyway +1 on my side once they are addressed. |
don't forget a what's new entry when merging. |
1a71467
to
3588f71
Compare
3588f71
to
a8dc789
Compare
added whatsnew, fixed random state. |
closing in favor of #4802 |
I'm probably missing something, but in version 0.17.1 this is still not resolved.... |
This is not resolved in 0.17.1 because it will be tackled in the big refactoring of the Gaussian Mixture models which hopefully will be included in 0.18. |
Fixes #1637.