diff --git a/examples/glm/plot_lasso_lars.py b/examples/glm/plot_lasso_lars.py index de63bfa7df6e1b664cc4a316b9fa728165412986..ae20871b0d1a3efe7c7b97f608abff977a82a146 100644 --- a/examples/glm/plot_lasso_lars.py +++ b/examples/glm/plot_lasso_lars.py @@ -1,8 +1,8 @@ #!/usr/bin/env python """ -====================== -Least Angle Regression -====================== +================================= +LASSO with Least Angle Regression +================================= """ diff --git a/examples/svm/plot_svm_regression.py b/examples/svm/plot_svm_regression.py index bda3ffc58e1ae0ebf24e56d87eb65d530aa06ea2..2eb5a9993f7000bb07d2269d7397e09e945f57aa 100644 --- a/examples/svm/plot_svm_regression.py +++ b/examples/svm/plot_svm_regression.py @@ -1,5 +1,7 @@ -"""Non linear regression with Support Vector Regression (SVR) -using RBF kernel +""" +================================================ +Support Vector Regression (SVR) using RBF kernel +================================================ """ ############################################################################### # Generate sample data diff --git a/scikits/learn/glm/lars.py b/scikits/learn/glm/lars.py index 488abb98001b5c2ae02f65e8c4aed8ab89500dbd..ffefb2212426e1e5da1fd146a062954fe2548579 100644 --- a/scikits/learn/glm/lars.py +++ b/scikits/learn/glm/lars.py @@ -18,7 +18,7 @@ from .._minilearn import lars_fit_wrap # optimized by binding (in scipy ?) trsv or trsm def lars_path(X, y, max_iter=None, alpha_min=0, method="lar", precompute=True): - """ Compute Least Angular Regression and LASSO path + """ Compute Least Angle Regression and LASSO path Parameters ----------- @@ -202,7 +202,7 @@ def lars_path(X, y, max_iter=None, alpha_min=0, method="lar", precompute=True): class LARS (LinearModel): - """ Least Angular Regression model a.k.a. LAR + """ Least Angle Regression model a.k.a. LAR Parameters ---------- @@ -236,7 +236,7 @@ class LARS (LinearModel): Notes ----- See also scikits.learn.glm.LassoLARS that fits a LASSO model - using a variant of Least Angular Regression + using a variant of Least Angle Regression XXX : add ref + wikipedia page @@ -271,7 +271,7 @@ class LARS (LinearModel): class LassoLARS (LinearModel): - """ Lasso model fit with Least Angular Regression a.k.a. LARS + """ Lasso model fit with Least Angle Regression a.k.a. LARS It is a Linear Model trained with an L1 prior as regularizer. lasso).