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

Uploaded Source

Built Distribution

dyson_equalizer-0.1.6-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dyson_equalizer-0.1.6.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dyson_equalizer-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ad6ea71eeb968a3071cdb041089c645ca1d78e1475625489487a276eac958879
MD5 2d843a5a45609040bdbe39a0546618e5
BLAKE2b-256 8d333718f9f66c58ebbf7fefea4352490c8ae7e999a26729572623553602973f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dyson_equalizer-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c9a082e667f2b3a3ce06497f2a3e49111b52f0b416fb2629660ee007e5850cd9
MD5 3701286632c7fe9bbcb9e4989d342b6c
BLAKE2b-256 b7d3c14ae98c4d024bc037e66189f863c85f143178b74f7a1abdf4190a63ade1

See more details on using hashes here.

Supported by

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