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
True
if theHyperParmeter
name should be included, in this case, a pair key-valuename: <hyperparameter-name>
will be included, else, only hyperparmeter attributes will be included. By defaultFalse