« Back to top page

Design of Experiments

Design of Experiments

Uniform Design Sampler

Abstract This package provides an implementation of the uniform design (UD) algorithm. UD is a variety of design-of-experiment (DOE) methods, and it has better sample efficiency than simple random sampling. Class or Function Names UniformDesignSampler Installation $ pip install -r https://hub.optuna.org/samplers/uniform_design/requirements.txt Example import matplotlib.pyplot as plt import numpy as np import optuna import optunahub from optuna.distributions import FloatDistribution module = optunahub.load_module("samplers/uniform_design") UniformDesignSampler = module.UniformDesignSampler def objective(trial): x = trial.suggest_float("x", 0, 1) y = trial.