- optuna.distributions.check_distribution_compatibility(dist_old, dist_new)
A function to check compatibility of two distributions.
It checks whether
dist_neware the same kind of distributions. If
CategoricalDistribution, it further checks
choicesare the same between
dist_new. Note that this method is not supposed to be called by library users.
dist_old (BaseDistribution) – A distribution previously recorded in storage.
dist_new (BaseDistribution) – A distribution newly added to storage.
- Return type