Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

lad

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

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)

Source distribution for lad 0.1.dev4
File Size Uploaded Provenance Actions
lad-0.1.dev4.tar.gz 3.1 kB Without provenance Details for lad-0.1.dev4.tar.gz

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

Security for lad 0.1.dev4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page