Skip to content

Add interface for Zuko density estimators 🔥  #974

Closed

Description

@janfb

Is your feature request related to a problem? Please describe.

Given the new DensityEstimator setup (#952 , #965) we can now start implementing new density estimators.

Describe the solution you'd like

For example: analog to the NflowsFlow class there could be a class for Zuko flows. Such a class needs to inherit from DensityEstimator and implements its methods. For Zuko flows, most of them are there already, but not all. E.g., the loss needs to implemented, and the condition_shape needs to be passed at init.

Additional context, plan:

Activity

  1. added
    enhancement
    architecture
    hackathon
    estimators
    on Mar 4, 2024
  2. added this to the Hackathon 2024 milestone on Mar 4, 2024
  3. gmoss13 commented on Mar 13, 2024

    @gmoss13
    Contributor

    ZukoFlow is now available as a subclass of DensityEstimator, along with an example builder function build_zuko_maf!

    Would now be good to add different flow types supported by Zuko following this structure (along with api tests).

  4. bkmi commented on Mar 18, 2024

    @bkmi
    Contributor

    It seems like some work has begun here? I will add myself to help continue the integration.

  5. self-assigned this
    on Mar 18, 2024
  6. anastasiakrouglova commented on Mar 18, 2024

    @anastasiakrouglova
    Collaborator

    I would also like to add myself to help continue the integration with Zuko!

  7. janfb commented on Apr 9, 2024

    @janfb
    ContributorAuthor

    solved via #1116

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

Metadata

Metadata

Labels

architecturebeginner friendlyenhancementestimatorshackathon

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions