intersection_search_space(study: optuna.study.BaseStudy, ordered_dict: bool = False) → Dict[str, optuna.distributions.BaseDistribution]¶
Return the intersection search space of the
Intersection search space contains the intersection of parameter distributions that have been suggested in the completed trials of the study so far. If there are multiple parameters that have the same name but different distributions, neither is included in the resulting search space (i.e., the parameters with dynamic value ranges are excluded).
IntersectionSearchSpaceprovides the same functionality with a much faster way. Please consider using it if you want to reduce execution time as much as possible.
A dictionary containing the parameter names and parameter’s distributions.