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

Add Distribution Name to the to_dict Return of Univariate Distributions #432

Open
pvk-developer opened this issue Oct 23, 2024 · 0 comments
Labels
feature request Request for a new feature internal The issue doesn't change the API or functionality

Comments

@pvk-developer
Copy link
Member

Description:

Currently, the Univariate distributions return a dictionary that includes the type of the distribution, represented as the fully qualified Python name (e.g., copulas.univariate.BetaUnivariate).

To improve clarity and usability, it would be helpful to include the native distribution name from SciPy. For example, instead of returning copulas.univariate.BetaUnivariate under the type key, the dictionary should also contain a distribution_name key with the corresponding SciPy distribution name (e.g., beta for the BetaUnivariate distribution). This attribute can be obtained from the instance.MODEL_CLASS.name.

@pvk-developer pvk-developer added internal The issue doesn't change the API or functionality feature request Request for a new feature labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature internal The issue doesn't change the API or functionality
Projects
None yet
Development

No branches or pull requests

1 participant