random_parameters: Generate random parameters for a given function. Given a test...

Description Usage Arguments Value Examples

Description

Generate random parameters for a given function.

Given a test function fn, generate n random parameter settings for that function.

Usage

1

Arguments

n

Number of parameters to generate.

fn

Test function.

Value

A matrix containing the parameter settings in the columns of the matrix.

Examples

1
2
3
4
fn <- ackley_function(10)
X <- random_parameters(100, fn)
str(X)
y <- fn(X)


Search within the soobench package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.