astromodule.hp.CategoricalHyperParameter.to_dict#
- CategoricalHyperParameter.to_dict(show_name: bool = False) dict#
A hyperparmeter can be defined from various attributes. This method expresses the hyperparmeter in the form of a python dictionary.
- Parameters:
- Show_Name: BOOL, OPTIONAL
Trueif theHyperParmetername should be included, in this case, a pair key-valuename: <hyperparameter-name>will be included, else, only hyperparmeter attributes will be included. By defaultFalse