Skip to content

Commit

Permalink
DOC Specify the meaning of dict_init=None in dict_learning_online (sc…
Browse files Browse the repository at this point in the history
  • Loading branch information
marenwestermann committed May 4, 2022
1 parent abbeacc commit 125a6c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sklearn/decomposition/_dict_learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,9 @@ def dict_learning_online(
Whether to also return the code U or just the dictionary `V`.
dict_init : ndarray of shape (n_components, n_features), default=None
Initial value for the dictionary for warm restart scenarios.
Initial values for the dictionary for warm restart scenarios.
If `None`, the initial values for the dictionary are created
with an SVD decomposition of the data via :func:`~sklearn.utils.randomized_svd`.
callback : callable, default=None
A callable that gets invoked at the end of each iteration.
Expand Down

0 comments on commit 125a6c6

Please sign in to comment.