Skip to content

Commit 8eabbed

Browse files
authored
MAINT: remove unused local vars in mixture._gaussian_mixture.py (scikit-learn#31432)
1 parent 6092846 commit 8eabbed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sklearn/mixture/_gaussian_mixture.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,9 +863,6 @@ def _set_parameters(self, params):
863863
) = params
864864

865865
# Attributes computation
866-
_, n_features = self.means_.shape
867-
868-
dtype = self.precisions_cholesky_.dtype
869866
if self.covariance_type == "full":
870867
self.precisions_ = np.empty_like(self.precisions_cholesky_)
871868
for k, prec_chol in enumerate(self.precisions_cholesky_):

0 commit comments

Comments
 (0)