Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
RDR Eval
RDR Eval

Contents

  • Getting started
  • Example gallery
    • Relative density ratio for 1D Gaussians
    • Relative density ratio for 2D Gaussian mixtures
  • API reference
Back to top
View this page

Example galleryΒΆ

These examples reproduce the one- and two-dimensional toy settings used by RDR while presenting them as executable, step-by-step tutorials. Each page contains the full source code, rendered figures, and downloadable Python and Jupyter notebook versions.

Relative density ratio for 1D Gaussians

Relative density ratio for 1D Gaussians

Relative density ratio for 2D Gaussian mixtures

Relative density ratio for 2D Gaussian mixtures

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

Next
Relative density ratio for 1D Gaussians
Previous
Getting started
Copyright © 2026, Yuliang Xu, Yun Wei, and Li Ma
Made with Sphinx and @pradyunsg's Furo