Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e7e9d3

Browse files
author
djipey
committed
Modification of a line after @agramfort's suggestion.
1 parent cf4bc71 commit 6e7e9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/lda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class LDA(BaseEstimator, LinearClassifierMixin, TransformerMixin):
180180
covariance_ : array-like, shape (n_features, n_features)
181181
Covariance matrix (shared by all classes).
182182
183-
explained_variance_ratio_ : array, (n_components)
183+
explained_variance_ratio_ : array, shape (n_components,)
184184
Percentage of variance explained by each of the selected components.
185185
If ``n_components`` is not set then all components are stored and the
186186
sum of explained variances is equal to 1.0. Only available when eigen

0 commit comments

Comments
 (0)