orange3-recommendation
orange3-recommendation copied to clipboard
Update learners to work with new Orange3 versions
Issue
Fixes #8, #9
Description of changes
Add ConcurrentMixin which moves computation on thread and fix old input/output style.
Includes
- [X] Code changes
- [ ] Tests
- [ ] Documentation
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.