Skip to content

Commit

Permalink
Do not call parent __init__ in dummies.
Browse files Browse the repository at this point in the history
Dummy models can be constructed without domain.
  • Loading branch information
astaric committed Sep 19, 2013
1 parent 496488e commit ed00e64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Orange/classification/dummies.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def fit(self, X, Y, W):

class DummyPredictor(classification.Model):
def __init__(self, value, prob):
super().__init__()
self.value = value
self.prob = prob
self.ret = classification.Model.ValueProbs
Expand Down Expand Up @@ -49,7 +48,6 @@ def fit(self, X, Y, W):

class DummyMulticlassPredictor(classification.Model):
def __init__(self, value, prob):
super().__init__()
self.value = value
self.prob = prob
self.ret = classification.Model.ValueProbs
Expand Down

0 comments on commit ed00e64

Please sign in to comment.