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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyipf-0.1.0.tar.gz.

File metadata

  • Download URL: pyipf-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyipf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03a6086bf381de53b3cbbbca430c4520b4a658e0a0c6bc18e387d1f659f06788
MD5 8f0e66f7eca0d43b3f4094a62f0caeea
BLAKE2b-256 59f7920ebffbccc48979fe311a9bfd6703292c8c5deeef0fc6a1df5797b4ebfa

See more details on using hashes here.

File details

Details for the file pyipf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyipf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pyipf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aeef9129267e1fde4e57fb02e1ba626be69d23fb5c527d94419c29b82515566
MD5 7df0e60b7564da1484fe27363f2d7e84
BLAKE2b-256 570dc3a76d62a5da35cb3e439018c74423baede5b0353767daca2cd9da406f8d

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