8000 DOC improve rendering of items in LDA (#29474) · scikit-learn/scikit-learn@97c3f3a · GitHub
[go: up one dir, main page]

Skip to content

Commit 97c3f3a

Browse files
authored
DOC improve rendering of items in LDA (#29474)
1 parent 6bc7bc0 commit 97c3f3a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

sklearn/decomposition/_lda.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,14 @@ class LatentDirichletAllocation(
194194
In general, if the data size is large, the online update will be much
195195
faster than the batch update.
196196
197-
Valid options::
198-
199-
'batch': Batch variational Bayes method. Use all training data in
200-
each EM update.
201-
Old `components_` will be overwritten in each iteration.
202-
'online': Online variational Bayes method. In each EM update, use
203-
mini-batch of training data to update the ``components_``
204-
variable incrementally. The learning rate is controlled by the
205-
``learning_decay`` and the ``learning_offset`` parameters.
197+
Valid options:
198+
199+
- 'batch': Batch variational Bayes method. Use all training data in each EM
200+
update. Old `components_` will be overwritten in each iteration.
201+
- 'online': Online variational Bayes method. In each EM update, use mini-batch
202+
of training data to update the ``components_`` variable incrementally. The
203+
learning rate is controlled by the ``learning_decay`` and the
204+
``learning_offset`` parameters.
206205
207206
.. versionchanged:: 0.20
208207
The default learning method is now ``"batch"``.

0 commit comments

Comments
 (0)
0