Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Add GAN Example for Mixture of Gaussians in 2D #87

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

UmarJ
Copy link
Contributor

@UmarJ UmarJ commented Apr 18, 2022

Description

This notebook implements a GAN from scratch to fit a dataset from a 2D mixture of Gaussians.

The code was adapted from the ODEGAN code here.

Colab link

Link to Colab Notebook

Issue

probml/pyprobml#691

Figures

Link to Gist

Checklist:

  • Performed a self-review of the code.
  • Verified that it runs on Google Colab.

Comments

Plotting the generated examples takes more time than training the model because jax.scipy does not have an implementation for scipy.stats.gaussian_kde. Therefore, Gaussian kernel density estimation for plotting has to be done using scipy.

The JAX repository currently has an open issue for this: jax-ml/jax#8954.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@UmarJ UmarJ marked this pull request as draft April 18, 2022 12:55
@UmarJ UmarJ marked this pull request as ready for review April 18, 2022 13:16
@murphyk murphyk merged commit 36cb173 into probml:main Apr 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants