pdmlabs.mango.domain.domain_space#

Define the domain space abstractions for the Optimizer

Classes

domain_space(param_dict,Β domain_size[,Β ...])

initializer 1) We expect a parameter dictionary as an input from which we will creating a mapping.

class pdmlabs.mango.domain.domain_space.domain_space(param_dict, domain_size, constraint: Callable = None, constraint_max_retries: int = 10)#

Bases: object

initializer 1) We expect a parameter dictionary as an input from which we will creating a mapping. 2) The mapping is storing the categorical variables or discrete variables along with the discrete possible values 3) The categorical variables are handeled as one hot encoding values

convert_GP_space(domain_list)#
convert_PS_space(X_gp)#
create_mappings()#
get_domain()#
get_random_sample(size)#