10000 Change "observations" to "features" in description of LassoLarsCV (#8… · scikit-learn/scikit-learn@3d57730 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d57730

Browse files
Charlie Brummittagramfort
authored andcommitted
Change "observations" to "features" in description of LassoLarsCV (#8362)
The description of LassoLarsCV compared the number of samples with the number of observations, but it was meant to compare the number of samples to the number of features (or dimensions) of the data. I changed "observations" to "features" in the following sentence: > However, :class:`LassoLarsCV` has the advantage of exploring more relevant values of `alpha` parameter, and if the number of samples is very small compared to the number of observations, it is often faster than :class:`LassoCV`.
1 parent b89fcd3 commit 3d57730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/linear_model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ For high-dimensional datasets with many collinear regressors,
229229
:class:`LassoCV` is most often preferable. However, :class:`LassoLarsCV` has
230230
the advantage of exploring more relevant values of `alpha` parameter, and
231231
if the number of samples is very small compared to the number of
232-
observations, it is often faster than :class:`LassoCV`.
232+
features, it is often faster than :class:`LassoCV`.
233233

234234
.. |lasso_cv_1| image:: ../auto_examples/linear_model/images/sphx_glr_plot_lasso_model_selection_002.png
235235
:target: ../auto_examples/linear_model/plot_lasso_model_selection.html

0 commit comments

Comments
 (0)
0