Skip to content

Commit 595cfbb

Browse files
remove non-argument (#2820)
1 parent 2abce81 commit 595cfbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onedal/svm/svm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def _predict(self, X):
263263
if hasattr(self, "_onedal_model"):
264264
model = self._onedal_model
265265
else:
266-
model = self._create_model(module)
266+
model = self._create_model()
267267
result = self.infer(params, model, X)
268268
y = from_table(result.responses)
269269
return y
@@ -319,7 +319,7 @@ def _decision_function(self, X):
319319
if hasattr(self, "_onedal_model"):
320320
model = self._onedal_model
321321
else:
322-
model = self._create_model(module)
322+
model = self._create_model()
323323
result = self.infer(params, model, X)
324324
decision_function = from_table(result.decision_function)
325325

0 commit comments

Comments
 (0)