Skip to content

Commit 3cc61d0

Browse files
Inherit warnings from OWBaseLearner
1 parent d9f355f commit 3cc61d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Orange/widgets/model/owsvm.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from Orange.data import Table
88
from Orange.modelling import SVMLearner, NuSVMLearner
99
from Orange.widgets import gui
10-
from Orange.widgets.widget import OWWidget, Msg
10+
from Orange.widgets.widget import Msg
1111
from Orange.widgets.settings import Setting
1212
from Orange.widgets.utils.owlearnerwidget import OWBaseLearner
1313
from Orange.widgets.utils.signals import Output
@@ -31,9 +31,8 @@ class OWSVM(OWBaseLearner):
3131
class Outputs(OWBaseLearner.Outputs):
3232
support_vectors = Output("Support vectors", Table, explicit=True)
3333

34-
class Warning(OWWidget.Warning):
34+
class Warning(OWBaseLearner.Warning):
3535
sparse_data = Msg('Input data is sparse, default preprocessing is to scale it.')
36-
outdated_learner = Msg("Press Apply to submit changes.")
3736

3837
#: Different types of SVMs
3938
SVM, Nu_SVM = range(2)

0 commit comments

Comments
 (0)