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

Skip to content

Commit 54abff3

Browse files
authored
DOC make decomposition._fastica.fastica pass numpydoc validation (#23094)
1 parent 667df88 commit 54abff3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sklearn/decomposition/_fastica.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def my_g(x):
214214
fun_args : dict, default=None
215215
Arguments to send to the functional form.
216216
If empty or None and if fun='logcosh', fun_args will take value
217-
{'alpha' : 1.0}
217+
{'alpha' : 1.0}.
218218
219219
max_iter : int, default=200
220220
Maximum number of iterations to perform.
@@ -256,7 +256,7 @@ def my_g(x):
256256
if K is not None, else it is the inverse of W.
257257
258258
S : ndarray of shape (n_samples, n_components) or None
259-
Estimated source matrix
259+
Estimated source matrix.
260260
261261
X_mean : ndarray of shape (n_features,)
262262
The mean over features. Returned only if return_X_mean is True.

sklearn/tests/test_docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"sklearn.datasets._svmlight_format_io.load_svmlight_files",
2424
"sklearn.decomposition._dict_learning.dict_learning",
2525
"sklearn.decomposition._dict_learning.dict_learning_online",
26-
"sklearn.decomposition._fastica.fastica",
2726
"sklearn.decomposition._nmf.non_negative_factorization",
2827
"sklearn.externals._packaging.version.parse",
2928
"sklearn.feature_extraction.image.extract_patches_2d",

0 commit comments

Comments
 (0)