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

Imputation #513

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

Imputation #513

wants to merge 9 commits into from

Conversation

egillax
Copy link
Collaborator

@egillax egillax commented Dec 12, 2024

Add imputation methods for numeric covariates. Marked as experimental for the time being.

  • simpleImputer : use mean or median to impute missing values in features > missingThreshold
  • iterativeImputer: use iterative imputing by chained equation (ICE). Implemented predictive mean matching 'pmm'.

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 3.10881% with 561 lines in your changes missing coverage. Please review.

Project coverage is 82.62%. Comparing base (fbea755) to head (362898c).

Files with missing lines Patch % Lines
R/Imputation.R 0.00% 426 Missing ⚠️
R/PreprocessingData.R 8.78% 135 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #513      +/-   ##
===========================================
- Coverage    87.03%   82.62%   -4.42%     
===========================================
  Files           50       51       +1     
  Lines        10477    11042     +565     
===========================================
+ Hits          9119     9123       +4     
- Misses        1358     1919     +561     

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

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