Skip to content

BUG Fixes kernel PCA raising "invalid value encountered in mul…#16718

Merged
thomasjpfan merged 2 commits into
scikit-learn:masterfrom
gui-miotto:issue16717
Mar 19, 2020
Merged

BUG Fixes kernel PCA raising "invalid value encountered in mul…#16718
thomasjpfan merged 2 commits into
scikit-learn:masterfrom
gui-miotto:issue16717

Conversation

@gui-miotto
Copy link
Copy Markdown
Contributor

Reference Issues/PRs

closes #16717

What does this implement/fix? Explain your changes.

Avoids multiplication on an uninitialized matrix created with np.empty_like()

Any other comments?

Copy link
Copy Markdown
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Please add a |Fix| entry to the change log at doc/whats_new/v0.23.rst. Like the other entries there, please reference this pull request with :pr: and credit yourself (and other contributors if applicable) with :user:

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

@gui-miotto I see this is your first time contributing, welcome!

LGTM

@thomasjpfan thomasjpfan changed the title Fixes kernel PCA raising "invalid value encountered in multiply" BUG Fixes kernel PCA raising "invalid value encountered in mul… Mar 19, 2020
@thomasjpfan thomasjpfan merged commit b9692a6 into scikit-learn:master Mar 19, 2020
@gui-miotto
Copy link
Copy Markdown
Contributor Author

Thanks, @thomasjpfan .

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.

Kernel PCA raises "invalid value encountered in multiply" at random times

3 participants