ipf
Python implementation of Iterative Proportional Updating (IPU). The IPU algorithm is a general case of iterative proportional fitting that can satisfy two disparate sets of marginals that do not agree on a single total.