astromodule.hp.ConstantHyperParameter.from_dict#

static ConstantHyperParameter.from_dict(params: dict)#

Creates a concrete instance of hyperparmeter from a dictionary of the python

Parameters:
paramsdict

A python dictionary that can be properly transformed into a concrete hyperparmeter instance.

Returns:
HyperParameter

A concrete instance of hyperparmeter