linlear is a python package for machine learning with linear methods, including robust methods
Project description
linlearn: linear methods in Python
LinLearn is scikit-learn compatible python package for machine learning with linear methods. It includes in particular alternative "strategies" for robust training, including median-of-means for classification and regression.
Documentation | Reproduce experiments |
LinLearn simply stands for linear learning. It is a small scikit-learn compatible python package for linear learning with Python. It provides :
- Several strategies, including empirical risk minimization (which is the standard approach), median-of-means for robust regression and classification
- Several loss functions easily accessible from a single class (
BinaryClassifier
for classification andRegressor
for regression) - Several penalization functions, including standard L1, ridge and elastic-net, but also total-variation, slope, weighted L1, among many others
- All algorithms can use early stopping strategies during training
- Supports dense and sparse format, and includes fast solvers for large sparse datasets (using state-of-the-art stochastic optimization algorithms)
- It is accelerated thanks to numba, leading to a very concise, small, but very fast library
Installation
The easiest way to install linlearn is using pip
pip install linlearn
But you can also use the latest development from github directly with
pip install git+https://github.com/linlearn/linlearn.git
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file linlearn-0.1.tar.gz
.
File metadata
- Download URL: linlearn-0.1.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.9 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf72a4a9537a2e97ae45f208fca7b260de0b956e30b3e49da494be97dba37347 |
|
MD5 | da26cb50960c9164387712d6b0b092a6 |
|
BLAKE2b-256 | f1850c93ee983c81868818201e47e157ebeb3ec509c056c653257adc0f4abae8 |
File details
Details for the file linlearn-0.1-py3-none-any.whl
.
File metadata
- Download URL: linlearn-0.1-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.9 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe5c2894eef248b3f2c39aebae0456aee3eb98e4e0280dd07b24df670dd59d1 |
|
MD5 | 5329462f1ff3425826dcfae5f316757b |
|
BLAKE2b-256 | feb656a4beda168e1d373fb34c9532cf05629fbfd11fdce48d4a2c4a3fbf5285 |