Skip to content

Flows for a one-dimensional toy problem #75

Description

@julia-sand

Thanks for a great package!
I have been working on a toy model but I have been stuck for a while on something which seems like it should be fairly straightforward. I would like to use a normalising flow to learn a double peaked distribution from a single peaked base distribution.
I am training with a forward KL loss using samples

What layers in the library work best in a one-dimensional setting?

I have used AffineConstFlow, which does scale and shift the distribution but I can't get a double peaked distribution. I have also tried planar flows, which diverge to infinity after training for even a short time.

Thank you for any advice

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions