Skip to content

[ENH] Transpose: Offload work onto separate thread, remove redundant instance#5314

Merged
markotoplak merged 2 commits intobiolab:masterfrom
VesnaT:concurrent_transpose
Apr 2, 2021
Merged

[ENH] Transpose: Offload work onto separate thread, remove redundant instance#5314
markotoplak merged 2 commits intobiolab:masterfrom
VesnaT:concurrent_transpose

Conversation

@VesnaT
Copy link
Contributor

@VesnaT VesnaT commented Mar 8, 2021

Issue

Fixes #5300
Fixes #5298

Description of changes
  • Offload work onto a separate thread
  • Remove redundant instance from transposed table - one that is used for feature names
Includes
  • Code changes
  • Tests
  • Documentation

@VesnaT VesnaT force-pushed the concurrent_transpose branch 2 times, most recently from d5deaf2 to 6bf2a20 Compare March 8, 2021 09:28
places = int(np.ceil(np.log10(n_cols))) if n_cols else 1
attributes = [ContinuousVariable(f"{feature_name} {i:0{places}}")
for i in range(1, n_cols + 1)]
progress_callback(0.4)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the correct value here is 0.418. Please check your calculations again.

@VesnaT VesnaT force-pushed the concurrent_transpose branch from 6bf2a20 to f021c05 Compare March 12, 2021 09:27
@codecov
Copy link

codecov bot commented Mar 12, 2021

Codecov Report

Merging #5314 (f021c05) into master (69e580d) will increase coverage by 0.00%.
The diff coverage is 97.05%.

@@           Coverage Diff           @@
##           master    #5314   +/-   ##
=======================================
  Coverage   85.35%   85.35%           
=======================================
  Files         301      301           
  Lines       62035    62080   +45     
=======================================
+ Hits        52950    52991   +41     
- Misses       9085     9089    +4     

@markotoplak markotoplak merged commit 704a837 into biolab:master Apr 2, 2021
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.

Transpose widget bug? Transpose cannot be cancelled

3 participants