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

Check feature input for NaNs #60

Merged
merged 5 commits into from
Mar 5, 2024

Conversation

jessica-ewald
Copy link
Contributor

Added a check for null values in the 'feats' input to average_precision in filter.py. Raises a value error if a NaN exists.

@johnarevalo johnarevalo linked an issue Mar 5, 2024 that may be closed by this pull request
@johnarevalo johnarevalo merged commit 200d24d into cytomining:main Mar 5, 2024
3 checks passed
@johnarevalo johnarevalo linked an issue Feb 24, 2025 that may be closed by this pull request
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.

Check behavior of np.inf feature values A profile's average precision is 1 if it contains any NaNs
2 participants