Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT Extend dtype preserved common test to check transform #24982

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

Conversation

jeremiedbb
Copy link
Member

The common test only checks fit_transform. It turns out that the transform method of Isomap does not preserve dtype which was missed in #24714 because of that.

This PR proposes to extend this test to check both methods.
Of course it's currently failing because of Isomap. I'll try to fix it as part of this PR.

Related to #22673

@jeremiedbb
Copy link
Member Author

The last commits make the transform method of Isomap preserve float32 dtype. The extended common test now passes.

Copy link
Member

@glemaitre glemaitre 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 taking care of this one. LGTM

Copy link
Member

@betatim betatim left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants