Skip to content

Commit

Permalink
fix: remove classses_ attribute from kNN regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuber21 committed Mar 23, 2023
1 parent 97f0d47 commit c2c5fd0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sklearnex/neighbors/knn_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ def _onedal_kneighbors(self, X=None, n_neighbors=None,
X, n_neighbors, return_distance, queue=queue)

def _save_attributes(self):
self.classes_ = self._onedal_estimator.classes_
self.n_features_in_ = self._onedal_estimator.n_features_in_
self.n_samples_fit_ = self._onedal_estimator.n_samples_fit_
self._fit_X = self._onedal_estimator._fit_X
Expand Down

0 comments on commit c2c5fd0

Please sign in to comment.