astromodule.hp.HP#

class HP[source]#

A utilitary factory class that produces concretes HyperParameter instances according to its types. Used for convenience, to avoid importing and instantiating each type of hyperparmeter separately.

Returns:
Hyperparameter

A concrete instance of hyperparmeter.

Methods

cat(name, choices)

const(name, value)

num(name, low, high[, step, log, dtype])

classmethod __new__(*args, **kwargs)#