8000 DOC Specify the meaning of dict_init=None in sklearn.decomposition.dict_learning_online by marenwestermann · Pull Request #23261 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Specify the meaning of dict_init=None in sklearn.decomposition.dict_learning_online #23261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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