Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuber21 committed Nov 19, 2024
1 parent 2a7b8b8 commit 4c87853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onedal/neighbors/neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def _onedal_fit(self, X, y, queue):
if gpu_device:
return self.train(policy, params, *to_table(X, y)).model
else:
return self.train_search(policy, params, *to_table(X, y)).model
return self.train_search(policy, params, to_table(X)).model

def _onedal_predict(self, model, X, params, queue):
assert self._onedal_model is not None, "Model is not trained"
Expand Down

0 comments on commit 4c87853

Please sign in to comment.