Skip to main content

Iterative Proportional Weighting in Python

Project description

PyIPF

The pyipf package provides a function to perform Iterative Proportional Fitting (IPF), also known as RAS or biproportional fitting. It is the operation of adjusting an initial N-dimensional matrix such that its marginal sums match N target matrices of dimension N-1. In the 2-D case, the matrix is adjusted until the row and column sums match two target vectors.

Versions

0.1.0 First release

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

pyipf-0.1.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

pyipf-0.1.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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