From 646c962a5992e462a07dc95a4a0644f82511251b Mon Sep 17 00:00:00 2001 From: Charlie Brummitt Date: Wed, 15 Feb 2017 10:17:30 -0500 Subject: [PATCH] Change "observations" to "features" in description of LassoLarsCV 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`. --- doc/modules/linear_model.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index 887a590f23197..b6c89f1fcba96 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -229,7 +229,7 @@ For high-dimensional datasets with many collinear regressors, :class:`LassoCV` is most often preferable. 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`. +features, it is often faster than :class:`LassoCV`. .. |lasso_cv_1| image:: ../auto_examples/linear_model/images/sphx_glr_plot_lasso_model_selection_002.png :target: ../auto_examples/linear_model/plot_lasso_model_selection.html