https://github.com/mlampros/randomsearchr
Find the optimal parameters of an algorithm using random search in R
https://github.com/mlampros/randomsearchr
parameter-estimation r random-search
Last synced: about 2 months ago
JSON representation
Find the optimal parameters of an algorithm using random search in R
- Host: GitHub
- URL: https://github.com/mlampros/randomsearchr
- Owner: mlampros
- Created: 2016-05-22T06:36:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-17T04:27:29.000Z (almost 5 years ago)
- Last Synced: 2025-04-12T07:40:15.041Z (12 months ago)
- Topics: parameter-estimation, r, random-search
- Language: R
- Homepage: http://mlampros.github.io/RandomSearchR/
- Size: 166 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/mlampros/RandomSearchR/actions)
[](https://codecov.io/github/mlampros/RandomSearchR?branch=master)
[](https://hub.docker.com/r/mlampros/randomsearchr)
### Random search in R
The functions in the package can be used to:
* find the optimal parameters of an algorithm using random search
* compare performance of algorithms using summary statistics.
To install the package from Github use,
```R
remotes::install_github('mlampros/RandomSearchR')
```
Once the package is downloaded use ? to read info about each function (i.e. ?random_search_resample). More details can be found in the [blog post](http://mlampros.github.io/2016/03/14/random_search_R/).
**UPDATE 05-02-2020**
**Docker images** of the *RandomSearchR* package are available to download from my [dockerhub](https://hub.docker.com/r/mlampros/randomsearchr) account. The images come with *Rstudio* and the *R-development* version (latest) installed. The whole process was tested on Ubuntu 18.04. To **pull** & **run** the image do the following,
```R
docker pull mlampros/randomsearchr:rstudiodev
docker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 mlampros/randomsearchr:rstudiodev
```
The user can also **bind** a home directory / folder to the image to use its files by specifying the **-v** command,
```R
docker run -d --name rstudio_dev -e USER=rstudio -e PASSWORD=give_here_your_password --rm -p 8787:8787 -v /home/YOUR_DIR:/home/rstudio/YOUR_DIR mlampros/randomsearchr:rstudiodev
```
In the latter case you might have first give permission privileges for write access to **YOUR_DIR** directory (not necessarily) using,
```R
chmod -R 777 /home/YOUR_DIR
```
The **USER** defaults to *rstudio* but you have to give your **PASSWORD** of preference (see [www.rocker-project.org](https://www.rocker-project.org/) for more information).
Open your web-browser and depending where the docker image was *build / run* give,
**1st. Option** on your personal computer,
```R
http://0.0.0.0:8787
```
**2nd. Option** on a cloud instance,
```R
http://Public DNS:8787
```
to access the Rstudio console in order to give your username and password.