File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ class TruncatedSVD(BaseEstimator, TransformerMixin):
2626 """Dimensionality reduction using truncated SVD (aka LSA).
2727
2828 This transformer performs linear dimensionality reduction by means of
29- truncated singular value decomposition (SVD). It is very similar to PCA,
30- but operates on sample vectors directly, instead of on a covariance matrix.
31- This means it can work with scipy.sparse matrices efficiently.
29+ truncated singular value decomposition (SVD). Contrary to PCA, this
30+ estimator does not center the data before computing the singular value
31+ decomposition. This means it can work with scipy.sparse matrices
32+ efficiently.
3233
3334 In particular, truncated SVD works on term count/tf-idf matrices as
3435 returned by the vectorizers in sklearn.feature_extraction.text. In that
You can’t perform that action at this time.
0 commit comments