You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``skglm`` is a library that provide better sparse generalized linear model for scikit-learn.
4
+
|image0|
5
+
6
+
7
+
``skglm`` is a library that provide better sparse generalized linear models for scikit-learn.
5
8
Its main features are:
6
9
7
10
- **speed**: problems with millions of features can be solved in seconds. Default solvers rely on efficient coordinate descent with numba just in time compilation.
@@ -10,24 +13,35 @@ Its main features are:
10
13
- **scope**: support for many missing models in scikit-learn - weighted Lasso, arbitrary group penalties, non convex sparse penalties, etc.
11
14
12
15
13
-
Cite
14
-
----
16
+
Currently, the package handles any combination of the following datafits:
15
17
16
-
If you use this code, please cite
18
+
- quadratic
19
+
- logistic loss
20
+
- multitask quadratic
17
21
18
-
.. code-block:: none
22
+
and the following penalties:
19
23
20
-
@online{skglm,
21
-
title={Beyond L1: Faster and Better Sparse Models with skglm},
22
-
author={Q. Bertrand and Q. Klopfenstein and P.-A. Bannier and G. Gidel and M. Massias},
23
-
year={2022},
24
-
url={https://arxiv.org/abs/2204.07826}
25
-
}
24
+
- L1 norm
25
+
- weighted L1 norm
26
+
- L1 + L2 squared norm (elastic net)
27
+
- MCP
28
+
- L05 and L2/3 penalties
29
+
30
+
31
+
The estimators follow the scikit-learn API, come with automated parallel cross-validation, and support both sparse and dense data.
32
+
33
+
.. with optionally feature centering, normalization, and unpenalized intercept fitting.
34
+
35
+
Documentation
36
+
=============
37
+
38
+
Please visit https://mathurinm.github.io/skglm/ for the latest version
39
+
of the documentation.
26
40
27
41
42
+
Install and work with the development version
43
+
=============================================
28
44
29
-
Installing the development version
30
-
----------------------------------
31
45
First clone the repository available at https://github.com/mathurinm/skglm::
0 commit comments