Skip to content

Commit d302600

Browse files
QB3mathurinm
andauthored
DOC add link to arxiv paper, update readme (#1)
Co-authored-by: mathurinm <[email protected]>
1 parent 39bb9ec commit d302600

File tree

3 files changed

+76
-21
lines changed

3 files changed

+76
-21
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
echo "Merging $(cat merge.txt)";
2525
git remote add upstream https://github.com/mathurinm/skglm.git;
2626
git pull --ff-only upstream "refs/pull/$(cat merge.txt)/merge";
27-
git fetch upstream master;
27+
git fetch upstream main;
2828
fi
2929
3030
# If both keys are in the same command only one is restored

README.rst

Lines changed: 69 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
skglm
2-
========
2+
=====
33

4-
``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.
58
Its main features are:
69

710
- **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:
1013
- **scope**: support for many missing models in scikit-learn - weighted Lasso, arbitrary group penalties, non convex sparse penalties, etc.
1114

1215

13-
Cite
14-
----
16+
Currently, the package handles any combination of the following datafits:
1517

16-
If you use this code, please cite
18+
- quadratic
19+
- logistic loss
20+
- multitask quadratic
1721

18-
.. code-block:: none
22+
and the following penalties:
1923

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.
2640

2741

42+
Install and work with the development version
43+
=============================================
2844

29-
Installing the development version
30-
----------------------------------
3145
First clone the repository available at https://github.com/mathurinm/skglm::
3246

3347
$ git clone https://github.com/mathurinm/skglm.git
@@ -41,4 +55,44 @@ To check if everything worked fine, you can do::
4155

4256
$ python -c 'import skglm'
4357

44-
and it should not give any error message.
58+
and it should not give any error message.
59+
60+
61+
62+
Demos & Examples
63+
================
64+
65+
In the `example section <https://mathurinm.github.io/skglm/auto_examples/index.html>`__ of the documentation,
66+
you will find numerous examples on real life datasets,
67+
timing comparison with other estimators, easy and fast ways to perform cross validation, etc.
68+
69+
70+
Dependencies
71+
============
72+
73+
All dependencies are in the ``./requirements.txt`` file.
74+
They are installed automatically when ``pip install -e .`` is run.
75+
76+
Cite
77+
----
78+
79+
If you use this code, please cite
80+
81+
.. code-block:: none
82+
83+
@online{skglm,
84+
title={Beyond L1: Faster and Better Sparse Models with skglm},
85+
author={Q. Bertrand and Q. Klopfenstein and P.-A. Bannier and G. Gidel and M. Massias},
86+
year={2022},
87+
url={https://arxiv.org/abs/2204.07826}
88+
}
89+
90+
91+
92+
93+
ArXiv links:
94+
95+
- https://arxiv.org/pdf/2204.07826.pdf
96+
97+
.. |image0| image:: https://github.com/mathurinm/skglm/workflows/pytest/badge.svg
98+
:target: https://github.com/mathurinm/skglm/actions?query=workflow%3Abuild

doc/index.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ If you use this code, please cite
2525
@online{skglm,
2626
title={Beyond L1 norm with skglm},
2727
author={Q. Bertrand and Q. Klopfenstein and P.-A. Bannier and G. Gidel and M. Massias},
28-
booktitle={in preparation},
28+
journal = {arXiv preprint arXiv:2204.07826},
29+
url={https://arxiv.org/pdf/2204.07826.pdf}
2930
year={2022},
3031
}
3132
3233
33-
Installing the latest release
34-
-----------------------------
35-
Run::
34+
.. Installing the latest release
35+
.. -----------------------------
36+
.. Run::
3637

37-
$ pip install scikit-contrib-skglm
38+
.. $ pip install scikit-contrib-skglm
3839
3940
4041
Installing the development version

0 commit comments

Comments
 (0)