Skip to content

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

Description

@pvk-developer

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.

Activity

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

    feature requestRequest for a new featureinternalThe issue doesn't change the API or functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions