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 matrixx_hat
: The normalizing factors for the rowsy_hat
: The normalizing factors for the columnsY_hat
: The normalized data matrix so that the variance of the error is 1X_bar
: The estimated signal matrix. It has rankr_hat
r_hat
: The estimated rank of the signal matrixS
: The principal values of the data matrixY
S_hat
: The principal values of the data matrixY_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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6ea71eeb968a3071cdb041089c645ca1d78e1475625489487a276eac958879 |
|
MD5 | 2d843a5a45609040bdbe39a0546618e5 |
|
BLAKE2b-256 | 8d333718f9f66c58ebbf7fefea4352490c8ae7e999a26729572623553602973f |
File details
Details for the file dyson_equalizer-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: dyson_equalizer-0.1.6-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9a082e667f2b3a3ce06497f2a3e49111b52f0b416fb2629660ee007e5850cd9 |
|
MD5 | 3701286632c7fe9bbcb9e4989d342b6c |
|
BLAKE2b-256 | b7d3c14ae98c4d024bc037e66189f863c85f143178b74f7a1abdf4190a63ade1 |