astromodule.hp.IntHyperParameter#
- class IntHyperParameter[source]#
Methods
Sets
last_value
attribute toNone
from_dict
(params)Creates a concrete instance of hyperparmeter from a dictionary of the python
set_attr
(key, value)set_trial
(trial)suggest
([trial])Used to recover the value of the hyperparmeter as defined by the concrete class.The concrete class can implement a logic based in Auto-ML using the
optuna
library or predefined values.to_dict
([show_name])A hyperparmeter can be defined from various attributes.
- classmethod __new__(*args, **kwargs)#