From 4b881f234e7995640351be78f3d61eb6d410f672 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Fri, 8 Dec 2023 16:13:23 +0100 Subject: [PATCH] docs: document att attributes --- sortedl1/estimators.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sortedl1/estimators.py b/sortedl1/estimators.py index 1041ea7..6472a79 100644 --- a/sortedl1/estimators.py +++ b/sortedl1/estimators.py @@ -28,8 +28,14 @@ class Slope(BaseEstimator, RegressorMixin): Attributes ---------- + intercept_ : float + The estimated intercept. coef_ : ndarray - The estimated regression coefficients. + The estimated regression coefficients in a sparse format. + sparse_coef_ : scipy.sparse.csc_matrix + The estimated regression coefficients in a dense format. + lambda_ : ndarray + The lambda parameter vector for the Sorted L1 Penalty. """ def __init__(