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

✨ Enable custom distributions for probabilistic regression #47

Open
1 task
o-laurent opened this issue Oct 11, 2023 · 0 comments
Open
1 task

✨ Enable custom distributions for probabilistic regression #47

o-laurent opened this issue Oct 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@o-laurent
Copy link
Contributor

o-laurent commented Oct 11, 2023

The regression routines should allow the user to choose the distribution of liking. For now, we cannot distinguish Laplace and Gaussian distributions as we rely on the number of parameters to choose the corresponding distributions.

  • Implement at least the following distributions: Dirac (standard), Gaussian, Laplace, NIG

A potential solution was highlighted in this discussion:

"""
I had the same kind of problem with another project of mine, I would suggest creating a function like this:

def get_distribution(dist_name: str, dist_params: Tensor) -> Distribution:
    ...

I think it could be interesting to use the Distribution class from Pytorch, but it might be too much. A dictionary with the parameters should do it nicely too.
"""

Originally posted by @alafage in #46 (comment)

@alafage alafage changed the title Enable custom distributions for probabiilistic regression Enable custom distributions for probabilistic regression Oct 11, 2023
@o-laurent o-laurent added the enhancement New feature or request label Oct 11, 2023
@o-laurent o-laurent changed the title Enable custom distributions for probabilistic regression ✨ Enable custom distributions for probabilistic regression Oct 18, 2023
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

No branches or pull requests

1 participant