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/Inference mode for Imputers #75

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

JesperDramsch
Copy link
Member

@JesperDramsch JesperDramsch commented Nov 8, 2024

This resets the nan_locations in the BaseImputer during non-training runs of the code.

Specifically, this enables changes in the dataset after training.

Closes #74

@JesperDramsch JesperDramsch linked an issue Nov 8, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.84%. Comparing base (deba13a) to head (72be86f).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #75   +/-   ##
========================================
  Coverage    99.84%   99.84%           
========================================
  Files           23       23           
  Lines         1301     1328   +27     
========================================
+ Hits          1299     1326   +27     
  Misses           2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HCookie HCookie self-requested a review November 8, 2024 12:58
Co-authored-by: Harrison Cook <Harrison.cook@ecmwf.int>
@JesperDramsch JesperDramsch self-assigned this Nov 8, 2024
@JesperDramsch JesperDramsch added the enhancement New feature or request label Nov 8, 2024
@HCookie
Copy link
Member

HCookie commented Nov 11, 2024

Once a changelog entry is added, I see no issue with approving and merging this.

Copy link
Member

@sahahner sahahner 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
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Imputer should have an inference mode
4 participants