Skip to content
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

fix permutation importance for dataset of len 1 #256

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

jduerholt
Copy link
Contributor

This PR fixes the problem with datasets of len 1 in the calculation of permutation feature importance. Instead of an uncontrolled error, np.nan is returned.

@jduerholt jduerholt merged commit fde91c9 into main Aug 9, 2023
@jduerholt jduerholt deleted the hotfix/permutation_importance branch August 9, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant