Add Distribution Name to the to_dict
Return of Univariate Distributions
#432
Labels
feature request
Request for a new feature
internal
The issue doesn't change the API or functionality
Description:
Currently, the
Univariate
distributions return a dictionary that includes thetype
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 returningcopulas.univariate.BetaUnivariate
under thetype
key, the dictionary should also contain adistribution_name
key with the correspondingSciPy
distribution name (e.g.,beta
for theBetaUnivariate
distribution). This attribute can be obtained from theinstance.MODEL_CLASS.name
.The text was updated successfully, but these errors were encountered: