DOE OSTI · 1734684
New Capabilities for Sampling Tools
Abstract
This report will discuss new capabilities that have been added to the sample.py and uniform_sampler.py codes. The codes have been updated to allow for both log-uniform sampling and categorical variables. The categorical variables do not have to be numeric. The different values for a categorical variable are specified in a limits file by having spaces between them. The difference between sample.py and uniform_sampler.py is that sample.py is for generating random samples and uniform_sampler.py is for generating samples or points on a fixed grid. After sourcing a file to set the environment, execute the codes with the commands: sample.py and uniform sampler.py .
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Armstrong, Derek Elswick, Buescher, Kevin Lee. 2020-12-01. New Capabilities for Sampling Tools. https://doi.org/10.2172/1734684
Cite the original work for its findings. Save a collection to share your selection of sources.