ConfigureVariableTransformation
- class pyapprox.variables.ConfigureVariableTransformation(config_values, labels=None)[source]
Bases:
object
Class which maps one-to-one configure indices in [0, 1, 2, 3,…] to a set of configure values accepted by a function
Methods Summary
map_from_canonical
(canonical_samples)Map a configure multi-dimensional index to the corresponding configure values
map_to_canonical
(samples)This is the naive slow implementation that searches through all canonical samples to find one that matches each sample provided
num_vars
()Return the number of configure variables.
Methods Documentation
- map_from_canonical(canonical_samples)[source]
Map a configure multi-dimensional index to the corresponding configure values