From 9c4cdc29e7752e91cedf729d7ddbe3ba46092072 Mon Sep 17 00:00:00 2001 From: Fabian Pedregosa <fabian.pedregosa@inria.fr> Date: Mon, 29 Nov 2010 15:02:01 +0100 Subject: [PATCH] Add cross-references between LassoLARS and Lasso. --- scikits/learn/linear_model/coordinate_descent.py | 4 ++++ scikits/learn/linear_model/lars.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scikits/learn/linear_model/coordinate_descent.py b/scikits/learn/linear_model/coordinate_descent.py index 449fb356cb..68ba818454 100644 --- a/scikits/learn/linear_model/coordinate_descent.py +++ b/scikits/learn/linear_model/coordinate_descent.py @@ -146,6 +146,10 @@ class Lasso(ElasticNet): >>> print clf.intercept_ 0.15 + See also + -------- + LassoLARS + Notes ----- The algorithm used to fit the model is coordinate descent. diff --git a/scikits/learn/linear_model/lars.py b/scikits/learn/linear_model/lars.py index fc8cd1c034..9a2739abdf 100644 --- a/scikits/learn/linear_model/lars.py +++ b/scikits/learn/linear_model/lars.py @@ -419,7 +419,7 @@ class LassoLARS (LARS): See also -------- - lars_path, LassoLARS + lars_path, Lasso """ def __init__(self, alpha=1.0, fit_intercept=True, verbose=False): -- GitLab