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

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

Merged
merged 2 commits into from
Apr 2, 2021

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
attributes = [ContinuousVariable(name) for name in names]
else:
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.

@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