-
Notifications
You must be signed in to change notification settings - Fork 46
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
Owinteractions: new widget and tablemodel #254
Conversation
8622349
to
de7ee2a
Compare
de7ee2a
to
a2d6fa9
Compare
a2d6fa9
to
c4f9c21
Compare
@noahnovsak, I merged #255 and rebased this one. Do you remember any reason we didn't merge it a year ago? |
No, I think it's ok for prototypes... It probably needs some work before merging into the main branch though. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #254 +/- ##
==========================================
+ Coverage 33.92% 41.76% +7.83%
==========================================
Files 9 12 +3
Lines 1515 1669 +154
==========================================
+ Hits 514 697 +183
+ Misses 1001 972 -29 ☔ View full report in Codecov by Sentry. |
Hahaha, you got used to different naming schemes! Thank you. |
Description of changes
InteractionScorer
relocated and fixed main thread being slowed down bynumpy.unique
. OWInteractions: fix calculation #255RankTableModel
andArrayTableModel
added (currently as two separate models).OWInteractions
rewritten as it's own widget, no longer extendsOWCorrelations
.These changes improve the performance of
OWInteractions
and present some opportunities forOWCorrelations
andOWScatterPlot
as well. Currently all three of these widgets can generate models large enough, thatQTableModel
and subsequently the rest of Orange becomes unresponsive. The idea of the new models is to save the underlying data in an array and let numpy do all the heavy lifting. Additionally improvements have been made to the process of adding items into the model in batches (the current process: generate and add items to the queue one by one, take items out one by one, add them to the model one by one).Includes