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

Skip to content

CLN Renames missing_values_in_feature_mask #26580

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 2 commits into from
Jun 14, 2023

Conversation

thomasjpfan
Copy link
Member

@thomasjpfan thomasjpfan commented Jun 14, 2023

Reference Issues/PRs

Related to #26391 (comment)

What does this implement/fix? Explain your changes.

This PR renames feature_has_missing variable to missing_values_in_feature_mask. missing_values_in_feature_mask is a boolean mask of size (n_features_in_,) that indicates if a feature has missing values.

Any other comments?

This PR is only a rename and does not introduce any functional changes.

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 clarifying it, @thomasjpfan.

Nit: missing_mask ticks me a bit as a suffix.

missing_values_in_feature_mask (or missing_values_mask_per_feature) is a bit longer, but might it convey a more exact meaning for such arrays?

@thomasjpfan thomasjpfan changed the title CLN Renames missing_mask_per_feature CLN Renames missing_values_in_feature_mask Jun 14, 2023
@lorentzenchr lorentzenchr enabled auto-merge (squash) June 14, 2023 16:32
@lorentzenchr lorentzenchr merged commit 15f7cfb into scikit-learn:main Jun 14, 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.

3 participants