Skip to main content

Computes the Dyson Equalizer and related low rank approximation of the input data

Project description

Dyson Equalizer

This package is a Python implementation of the Dyson Equalizer. The method is described in detail in the article The Dyson Equalizer: Adaptive Noise Stabilization for Low-Rank Signal Detection and Recovery

The documentation is available at https://klugerlab.github.io/DysonEqualizer.

Installation

The main version of the package can be installed as

pip install dyson-equalizer

The development version of the package can be installed as

pip install git+https://github.com/Klugerlab/DysonEqualizer.git

Getting started

To import the package and apply the Dyson Equalizer to a test matrix

from dyson_equalizer.examples import generate_Y_with_heteroskedastic_noise
from dyson_equalizer.dyson_equalizer import DysonEqualizer

Y = generate_Y_with_heteroskedastic_noise()
de = DysonEqualizer(Y).compute()

The DysonEqualizer result class will contain the following attributes

  • Y: The original data matrix
  • x_hat: The normalizing factors for the rows
  • y_hat: The normalizing factors for the columns
  • Y_hat: The normalized data matrix so that the variance of the error is 1
  • X_bar: The estimated signal matrix. It has rank r_hat
  • r_hat: The estimated rank of the signal matrix
  • S: The principal values of the data matrix Y
  • S_hat: The principal values of the data matrix Y_hat

Detailed examples are available on the Examples page.

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

dyson_equalizer-0.1.8.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dyson_equalizer-0.1.8-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file dyson_equalizer-0.1.8.tar.gz.

File metadata

  • Download URL: dyson_equalizer-0.1.8.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dyson_equalizer-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f10723cbdd53692d4a9c645e61d248be8b61ce52847cec9394a106fb0feee743
MD5 eaddfaf2a6409abd6f04c86402f2878b
BLAKE2b-256 3977bc6bd0fd09b69209b3d8db0204a26b0a446e03776cc26e089f9c4ab5f693

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyson_equalizer-0.1.8.tar.gz:

Publisher: publish_pypi_release.yml on KlugerLab/DysonEqualizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dyson_equalizer-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for dyson_equalizer-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fddc677bf586d8784d90a88a312cf59dc93886ce9e9854d3070c67ae193771b3
MD5 6b6a4a350b651b1acd9edbcd2050177e
BLAKE2b-256 a71d87daa5781bd88096ca92a3a7796dc8480ecc8695b617e402026ee423fcf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyson_equalizer-0.1.8-py3-none-any.whl:

Publisher: publish_pypi_release.yml on KlugerLab/DysonEqualizer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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