# \[ANN\] DensityRatioEstimation.jl

**URL:** <https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982>\
**Category:** Package Announcements\
**Tags:** package, announcement, statistics, machine-learning\
**Created:** [June 18, 2022, 8:45pm UTC](https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982 "2022-06-18T20:45:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [June 18, 2022, 8:45pm UTC](https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982/1 "2022-06-18T20:45:22Z")

</div>

DensityRatioEstimation.jl is a Julia package for efficient estimation of ratios of density functions. These ratios are useful in a wide set of applications including two-sample tests, outlier detection, distribution comparison and transfer learning:

> **[GitHub - JuliaML/DensityRatioEstimation.jl: Density ratio estimation in Julia](https://github.com/JuliaML/DensityRatioEstimation.jl)**
>
> Density ratio estimation in Julia. Contribute to JuliaML/DensityRatioEstimation.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![eliascarv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eliascarv/32/22152_2.png) [@eliascarv](https://discourse.julialang.org/u/eliascarv)\
**Post date:** [June 18, 2022, 8:55pm UTC](https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982/2 "2022-06-18T20:55:14Z")

</div>

Amazing package!

---

<div class="post-metadata">

**Author:** ![sparrowhawk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sparrowhawk/32/9148_2.png) [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Post date:** [December 14, 2022, 10:25pm UTC](https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982/3 "2022-12-14T22:25:31Z")

</div>

Very useful implementation for computing Kullback-Leibler divergence from samples

---

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [December 4, 2024, 10:26am UTC](https://discourse.julialang.org/t/ann-densityratioestimation-jl/82982/4 "2024-12-04T10:26:00Z")

</div>

# DensityRatioEstimation.jl v1.3

Updated the extensions to improve the end-user experience, and the README with more instructions on how to load the different Convex.jl, JuMP.jl and Optim.jl backends.

It would be great to refactor the code in a way that relies on a generic “optimizer” model that can be passed to either Convex.jl or JuMP.jl. Any help is appreciated.
