This release is a pre-release and may not be stable for production use.
lad
Least absolute deviations with L1 regularization using majorization-minimization. In estimation theory terms, this is the Maximum A Posterior (MAP) estimator for a Laplacian likelihood with Laplacian prior, i.e.
The MM algorithm update turns out to be
which belongs to the class of iterative reweighted least-squares: https://en.wikipedia.org/wiki/Iteratively_reweighted_least_squares
Python Version
To install the development version, proceed as follows:
git clone https://github.com/mirca/lad.git pip install -e lad
Or install the lastest version on PyPi:
pip install lad
Installation dependencies:
- tensorflow
Test dependencies:
- numpy - tensorflow - pytest - pytest-cov
R version
Inside the R console, type:
devtools::install_github("mirca/lad/r/lad")
Metadata
Release files for lad 0.1.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lad-0.1.dev4.tar.gz | 3.1 kB | Details |
Release files / lad-0.1.dev4.tar.gz
| Download URL | lad-0.1.dev4.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3e5026a5fd48ebda95c95f093ae1e43e2297782517086c865d4e75de99d4a12
|
|
BLAKE2b-256 checksum How to use checksums |
e5c65e485e50b5104b75ec5d1a659d8e85799b1068b679537fc5d043cebf4f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |