1297rohit/RCNN

Running on google colab and am getting this error

evansmwakughu opened this issue · 0 comments

lenc = MyLabelBinarizer()
Y = lenc.fit_transform(y_new)

TypeErrorTraceback (most recent call last)
in ()
1 lenc = MyLabelBinarizer()
----> 2 Y = lenc.fit_transform(y_new)
3 #lenc = MyLabelBinarizer()
4 #Y = MyLabelBinarizer().fit_transform(y_new)

1 frames
in transform(self, y)
1 class MyLabelBinarizer(LabelBinarizer):
2 def transform(self, y):
----> 3 Y = super().transform(y)
4 if self.y_type_ == 'binary':
5 return np.hstack((Y, 1-Y))

TypeError: super() takes at least 1 argument (0 given)

TypeError: super() takes at least 1 argument (0 given)