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.dev3.tar.gz (3.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lad-0.1.dev3.tar.gz
Algorithm Hash digest
SHA256 0f0ddecd91e5e4616a600aaafc88ee48e75471d849e6463da21437385f2ec9d1
MD5 a6f151fb81710952b4e18c24c061a501
BLAKE2b-256 3256848319f8dba746a90dd5f6816841e92262387a0f2aa84775f1055f3033d1

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