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

Clean up SklImpute #6508

Merged
merged 4 commits into from
Jul 12, 2023
Merged

Clean up SklImpute #6508

merged 4 commits into from
Jul 12, 2023

Conversation

markotoplak
Copy link
Member

@markotoplak markotoplak commented Jul 11, 2023

Issue

SklImpute did not have tests.

Also, in 2017 it was modified to use domain transformation. After that, it effectively did the transformation twice: through the domain conversion and through scikit's fit_transform.

We originally wrote this through fit_transform for speed, but it seems we did not miss it much since 2017.

Description of changes

This PR simplifies the current code and makes it just a tiny bit faster.

This set of commits is mostly cherry-picked from the markotoplak/orange3/dask-subarray branch.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Merging #6508 (1d076ee) into master (711a863) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6508      +/-   ##
==========================================
- Coverage   87.66%   87.66%   -0.01%     
==========================================
  Files         321      321              
  Lines       69374    69371       -3     
==========================================
- Hits        60817    60814       -3     
  Misses       8557     8557              

@JakaKokosar JakaKokosar merged commit 929bd7a into biolab:master Jul 12, 2023
@markotoplak markotoplak added the dask Related (discovered in or needed) to the Dask adaptation label Jul 14, 2023
@markotoplak markotoplak deleted the clean-sklimpute branch November 6, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dask Related (discovered in or needed) to the Dask adaptation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants