generate_design_random

0th

Percentile

Generate a Random Design

Generates a design with randomly drawn points. Internally uses SamplerUnif, hence, also works for ParamSets with dependencies. If dependencies do not hold, values are set to NA in the resulting data.table.

Usage
generate_design_random(param_set, n)
Arguments
param_set

:: ParamSet.

n

:: integer(1) Number of points to draw randomly.

Value

(data.table::data.table()).

See Also

Other generate_design: generate_design_grid, generate_design_lhs

Aliases
  • generate_design_random
Examples
# NOT RUN {
ps = ParamSet$new(list(
  ParamDbl$new("ratio", lower = 0, upper = 1),
  ParamFct$new("letters", levels = letters[1:3])
))
generate_design_random(ps, 10)
# }
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.