Skip to main content

Least absolute deviations with L1 regularization using majorization-minimization

Project description

ci-badge cov-badge zenodo-badge

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.

lad.png

The MM algorithm update turns out to be

lad2.png

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lad-0.1.dev2.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file lad-0.1.dev2.tar.gz.

File metadata

  • Download URL: lad-0.1.dev2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lad-0.1.dev2.tar.gz
Algorithm Hash digest
SHA256 99c150f2dd64dc7d0907184ba4ddfce84db3b925b97c0d8c85212a97fa206030
MD5 84b12e87ffa1b561b3e3f9fea210f386
BLAKE2b-256 69d2e6be75ff8b9f4615479f2b7fc2a8903ae41ab116eb8efd01004679b0d4c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page