Skip to content

Commit

Permalink
Update kmeans.py
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Nov 9, 2024
1 parent 14362a3 commit 3fa5ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onedal/cluster/kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def cluster_centers_(self, cluster_centers):
self.n_iter_ = 0
self.inertia_ = 0

self.model_ = self._backend.kmeans.clustering.model
self.model_ = self._backend.kmeans.clustering.model()
self.model_.centroids = to_table(self._cluster_centers_)
self.n_features_in_ = self.model_.centroids.column_count
self.labels_ = np.arange(self.model_.centroids.row_count)
Expand Down

0 comments on commit 3fa5ce5

Please sign in to comment.