Skip to content

FIX Correct the initiatialization of precisions_cholesky_ from precisions_init #26416

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

Merged
merged 54 commits into from
Jul 20, 2023
Merged

FIX Correct the initiatialization of precisions_cholesky_ from precisions_init #26416

merged 54 commits into from
Jul 20, 2023

Conversation

mchikyt3
Copy link
Contributor

Reference Issues/PRs

Fixes #26415

What does this implement/fix? Explain your changes.

This PR fixes the bug of initializing precisions_cholesky_ from precisions_init in the _initialize method.

Any other comments?

Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for reporting the issue and proposing a fix.

Your observation and your correction proposal are valid. Here are just a few comments to avoid performance regressions.

@jjerphan jjerphan changed the title BUG Fix initializing precisions_cholesky_ from precisions_init FIX Correct the initiatialization of precisions_cholesky_ from precisions_init Jun 1, 2023
mchikyt3 and others added 9 commits June 1, 2023 19:43
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you, @mchikyt3.

Just a few last comments.

mchikyt3 and others added 3 commits June 2, 2023 10:45
@jjerphan jjerphan added the Waiting for Second Reviewer First reviewer is done, need a second one! label Jun 2, 2023
@mchikyt3
Copy link
Contributor Author

mchikyt3 commented Jul 11, 2023

The change log has been moved to v1.4.rst. Thanks.

@ogrisel
Copy link
Member

ogrisel commented Jul 11, 2023

@dengemann do you want to have a look at this PR?

Copy link
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @mchikyt3. This looks good overall. I just pointed out some changes related to the docs and naming.

mchikyt3 and others added 9 commits July 19, 2023 19:56
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
@mchikyt3
Copy link
Contributor Author

mchikyt3 commented Jul 19, 2023

Thanks for the PR @mchikyt3. This looks good overall. I just pointed out some changes related to the docs and naming.

The changes have been committed. Thanks for your comments. Please approve if there's no further questions. @OmarManzoor

Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Copy link
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @mchikyt3

@OmarManzoor OmarManzoor removed the Waiting for Second Reviewer First reviewer is done, need a second one! label Jul 20, 2023
@OmarManzoor OmarManzoor merged commit 7de59b2 into scikit-learn:main Jul 20, 2023
@mchikyt3 mchikyt3 deleted the fix-precisions-init branch July 20, 2023 10:52
punndcoder28 pushed a commit to punndcoder28/scikit-learn that referenced this pull request Jul 29, 2023
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Sep 18, 2023
jeremiedbb pushed a commit that referenced this pull request Sep 20, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect initialization of GaussianMixture from precisions_init in the _initialize method
4 participants