Python package to estimate density ratios in causal inference using Bregman divergences.
We use Pixi package manager, which must be installed manually.
You can install the density_ratio
package in development mode using:
git clone https://github.com/CI-NYC/densityratios.git
cd densityratios
pixi run pre-commit-install
pixi run postinstall
pixi run test
- python KLIEP github.com/srome/pykliep
- python uLSIF github.com/hoxo-m/densratio_py
- python uLSIF github.com/JohnYKiyo/density_ratio_estimation
- python github.com/ermongroup/dre-infinity
- python github.com/ermongroup/f-dre.
- matlab (https://www.ms.k.u-tokyo.ac.jp/sugi/software.html).
- R (using C++) uLSIF, KLIEP, KMM, LSHH, spectral methods github.com/thomvolker/densityratio also available on CRAN.
- R uLSIF and KLIEP github.com/hoxo-m/densratio also on CRAN