Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change MixedDensityEstimator to AutoregressiveMixedDensityEstimator #1112

Open
michaeldeistler opened this issue Mar 25, 2024 · 0 comments · May be fixed by #1269
Open

Change MixedDensityEstimator to AutoregressiveMixedDensityEstimator #1112

michaeldeistler opened this issue Mar 25, 2024 · 0 comments · May be fixed by #1269
Labels
enhancement New feature or request

Comments

@michaeldeistler
Copy link
Contributor

michaeldeistler commented Mar 25, 2024

Is your feature request related to a problem? Please describe.
The MixedDensityEstimator currently takes a 1D discrete net and a continuous net and combines them autoregressively. To generalize this to multiple discrete dimensions, we should generalize this to an AutoregressiveMixedDensityEstimator which takes a list of density estimators. E.g. sth like

discrete_net1 = CategoricalDensityEstimator(condition_dim=x.shape[1])
discrete_net2 = CategoricalDensityEstimator(condition_dim=x.shape[1] + 1)
continuous_net = NFlowsFlow(input_dim=5, condition_dim=x.shape[1] + 2)

density_estimator = AutoregressiveMixedDensityEstimator([
    discrete_net1, discrete_net2, continuous_net
])
@michaeldeistler michaeldeistler added the enhancement New feature or request label Mar 25, 2024
@jnsbck jnsbck linked a pull request Sep 5, 2024 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant