Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumny/fair
Reproduce fair results
https://github.com/sumny/fair
Last synced: 18 days ago
JSON representation
Reproduce fair results
- Host: GitHub
- URL: https://github.com/sumny/fair
- Owner: sumny
- License: gpl-3.0
- Created: 2022-06-03T19:55:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T20:01:27.000Z (over 2 years ago)
- Last Synced: 2024-12-17T13:46:41.305Z (23 days ago)
- Language: R
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fair
Reproduce results from YAHPO Gym fair.
## Installation
You can install the released version from GitHub using:
``` r
remotes::install_github("sumny/fair")
```Note that for *exact* reproduction, you need the R packages with the exact version as specified in the DESCRIPTION
(i.e., == instead of >=) and also R version 4.0.5.
Also note that some measures (ram and time related ones) can never be exactly reproduced because they depend on system
hardware and system load.By default, in all `eval_*` functions, the original fixed seed is used and therefore, runs are fully deterministic,
(except for the ram and time measures mentioned above).To change this, simply provide a custom seed.
Note that data is obtained via `mlr3oml` and is cached via `qs`.
## Example
```r
library(fair)
scenario = "fair_rpart"
configuration = list(cp = 0.5, maxdepth = 7, minbucket = 50, minsplit = 20, pre_post = "pre", reweighing_os_alpha = 0.05, trainsize = 0.11, task_id = "190424")
eval_yahpo(scenario, configuration)
```