Skip to content

[ENH] Impute widget: Parallel execution in the background#2395

Merged
markotoplak merged 7 commits intobiolab:masterfrom
ales-erjavec:impute-widget-threading
Aug 11, 2017
Merged

[ENH] Impute widget: Parallel execution in the background#2395
markotoplak merged 7 commits intobiolab:masterfrom
ales-erjavec:impute-widget-threading

Conversation

@ales-erjavec
Copy link
Contributor

@ales-erjavec ales-erjavec commented Jun 9, 2017

Issue

Imputer widget blocks the main GUI thread.

Description of changes

Move the column imputer fitting into background thread[s].

Includes
  • Code changes
  • Tests
  • Documentation

@ales-erjavec ales-erjavec force-pushed the impute-widget-threading branch from ec6a1d5 to 51f46d5 Compare June 12, 2017 09:03
@codecov-io
Copy link

codecov-io commented Jun 12, 2017

Codecov Report

Merging #2395 into master will decrease coverage by 0.33%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master    #2395      +/-   ##
==========================================
- Coverage   74.66%   74.33%   -0.34%     
==========================================
  Files         320      321       +1     
  Lines       56225    56235      +10     
==========================================
- Hits        41979    41800     -179     
- Misses      14246    14435     +189

@ales-erjavec ales-erjavec force-pushed the impute-widget-threading branch 4 times, most recently from 7503f5a to 9a04f11 Compare June 13, 2017 15:45
@ales-erjavec ales-erjavec changed the title [WIP][ENH] Impute widget: Parallel execution in the background [ENH] Impute widget: Parallel execution in the background Jun 13, 2017
@ales-erjavec ales-erjavec force-pushed the impute-widget-threading branch 2 times, most recently from 77ea616 to ef416b3 Compare June 16, 2017 16:01
@ales-erjavec ales-erjavec force-pushed the impute-widget-threading branch 3 times, most recently from e96ab80 to 55d06b8 Compare July 10, 2017 12:27
@ales-erjavec ales-erjavec force-pushed the impute-widget-threading branch from c5765ba to 0766f46 Compare August 10, 2017 07:28
@markotoplak markotoplak self-assigned this Aug 11, 2017
@markotoplak
Copy link
Member

Great, thanks!

Model based imputation on adult is now 30s instead of 55s on my machine (one variable takes more time than others).

Average imputation of GDS2808 is now 140s instead of 400s + computation can be interrupted.

@markotoplak markotoplak merged commit f764074 into biolab:master Aug 11, 2017
@ales-erjavec ales-erjavec deleted the impute-widget-threading branch November 14, 2017 08:55
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.

3 participants