Ticket #1007 (closed wish: fixed)
Enable orange learners to return subclass of classifier.
|Reported by:||anze||Owned by:||janez|
Description (last modified by anze) (diff)
Each orange learner returns its corresponding classifier. If you want to subclass both, to provide some additional functionality (__str__, __repr__), there is currently no clean, easy way to do it.
A possible solution would be, to have a field on learner (i.e. __classifier__) that would specify, which classifier class to construct. There could also bo a check, to make sure that the specified classifier is a subclass of the default one.