Open robertcv opened 5 years ago
Have you considered Orange.widgets.utils.concurrent.ConcurrentMixin
as an alternative to OWHeavyLearner
(or maybe its base)?
@lanzagar Changed code to use ConcurrentMixin. Take a look.
@VesnaT I combined the functionality into a new base class. This could be then a starting point for how to integrate it into OWBaseLearner
but this is beyond this PR (and is probably not trivial because of the different callbacks). The same goes for the resuming of learning.
Issue
Fixes #8, #9
Description of changes
Add ConcurrentMixin which moves computation on thread and fix old input/output style.
Includes