Skip to content

Refactor neural_nets model structure #991

Closed

Description

@gmoss13

After the new DensityEstimator interface is introduced, we have a confusing structure:

  • neural_nets.density_estimators should contain only one file for flows, containing all classes of flow-based density estimators
  • neural_nets.flow.py and neural_nets.mdn.py should be combined and the file should be explicitly named as a util file (containing only builder functions for flow-based density estimators. Potentially move this to utils.

Activity

  1. added
    enhancement
    beginner friendly
    API changes
    hackathon
    estimators
    architecture
    and removed
    enhancement
    API changes
    on Mar 13, 2024
  2. fariedabuzaid commented on Mar 18, 2024

    @fariedabuzaid
    Contributor

    I can have a look into that.

  3. janfb commented on Aug 6, 2024

    @janfb
    Contributor

    factory.py contains the meta build functions like posterior_nn etc, while we have individual files for the build_xyz(...) build functions, e.g., flow.py, mdn.py etc. This should be refactored into a more logically file structure.

  4. janfb commented on Aug 27, 2024

    @janfb
    Contributor

    closed with #1238 and #1237

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

    architecturebeginner friendlyestimatorshackathon

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions