Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

output
md_document
variant
markdown_github

randomsearch

CRAN_Status_Badge Build Status Build status Coverage Status Monthly RStudio CRAN Downloads

Random Search for Expensive Functions

Simple Random Search function for the smoof and ParamHelpers ecosystem with termination criteria and parallelization.

Installation

We recommend to install the official release version:

install.packages("randomsearch")

For experimental use you can install the latest development version:

devtools::install_github("jakob-r/randomsearch")

Usage

library(randomsearch)
fun = function(x) x[1]^2 + sin(x[2])
res = randomsearch(fun, lower = c(-1, -2), upper = c(2,4), minimize = TRUE, max.evals = 30)
summary(res)
## Randomsearch Result: 
## Eval no.: 9
## x: x=-0.262,-1.75
## y: -0.9158972

For a more detailed documentation you can check the Vignette.

About

randomsearch with parallelization and termination criteria

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.