Skip to content

Commit a83c831

Browse files
Cartman0jnothman
authored andcommitted
DOC replace term 'EM' to 'SVD based approach' (scikit-learn#14539)
1 parent 228109c commit a83c831

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/decomposition/factor_analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class FactorAnalysis(BaseEstimator, TransformerMixin):
4949
5050
FactorAnalysis performs a maximum likelihood estimate of the so-called
5151
`loading` matrix, the transformation of the latent variables to the
52-
observed ones, using expectation-maximization (EM).
52+
observed ones, using SVD based approach.
5353
5454
Read more in the :ref:`User Guide <FA>`.
5555
@@ -61,7 +61,7 @@ class FactorAnalysis(BaseEstimator, TransformerMixin):
6161
If None, n_components is set to the number of features.
6262
6363
tol : float
64-
Stopping tolerance for EM algorithm.
64+
Stopping tolerance for log-likelihood increase.
6565
6666
copy : bool
6767
Whether to make a copy of X. If ``False``, the input X gets overwritten
@@ -154,7 +154,7 @@ def __init__(self, n_components=None, tol=1e-2, copy=True, max_iter=1000,
154154
self.random_state = random_state
155155

156156
def fit(self, X, y=None):
157-
"""Fit the FactorAnalysis model to X using EM
157+
"""Fit the FactorAnalysis model to X using SVD based approach
158158
159159
Parameters
160160
----------

0 commit comments

Comments
 (0)