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

Add Subsampling Functionality #156

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

GregoryPetrochenkov-NOAA
Copy link
Collaborator

This pull request addresses #144.

Additions

  • subsampling.py: Add subsampling functionality

Changes

  • pyproject.toml: Updated version
  • requirements/base.txt: Add flox dependency
  • gval_dataframe.py: Add new subsampoing dataframe creation methods
  • gval_xarray.py: Add subsampling functionality
  • compute_categorical_metrics.py: Add subsampling funcitonality
  • compute_continuous_metrics.py: Add subsampling funcitonality
  • categorical_statistics.py: report nan and inf stats
  • continuous_statistics.py: report nan and inf stats
  • schemas.py: Add new schema for subsampling df
  • cases_compute_continuous_metrics.py: Adjust for reporting nans and infs
  • cases_statistics.py: Adjust for reporting nans and infs
  • cases_subsampling/test_subsampling: Tests for subsampling

src/gval/utils/exceptions.py Outdated Show resolved Hide resolved
notebooks/Subsampling Tutorial.ipynb Outdated Show resolved Hide resolved
@fernando-aristizabal fernando-aristizabal merged commit daf7a07 into main Sep 21, 2023
4 checks passed
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.

2 participants