gradient-boosted-normalizing-flows icon indicating copy to clipboard operation
gradient-boosted-normalizing-flows copied to clipboard

Plotting examples

Open andersdot opened this issue 5 years ago • 3 comments
trafficstars

This is a great, well documented library. Thanks for the examples. Do you have example scripts or notebooks for plotting the outputs?

Cheers

andersdot avatar Aug 12 '20 20:08 andersdot

To be more specific, I'm looking to read in a trained model from the density experiment script and plot samples from that model

andersdot avatar Aug 12 '20 21:08 andersdot

I haven't come up with a way to plot samples from all of the density estimation models yet. Right now the density estimation models mainly work on tabular data from the UCI repository (which is difficult to plot).

I'm working on boosting multi-scaled flows for image datasets (such as https://arxiv.org/abs/1605.08803 or https://arxiv.org/abs/1807.03039), which will be easy to plot samples from, but this still needs some work.

The closest thing to what you might be looking for is plotting density estimation models for the 2D toy datasets. To do that you can run:

./scripts/getting_started_toy_estimation_gbnf.sh

robert-giaquinto avatar Aug 12 '20 21:08 robert-giaquinto

Thanks for the quick response! I ran the script you suggest, and was hoping to plot the output, but wasn't sure how to conveniently read it into memory and then generate a visualization of it. Are there easier visualizations of the model rather than sampling?

andersdot avatar Aug 12 '20 21:08 andersdot