forked from mi-erasmusmc/Explore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
executable file
·66 lines (49 loc) · 1.85 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(warning = FALSE,
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
## Package overview
Functions to find a short and accurate decision rule in disjunctive normal form using the Exhaustive Procedure for LOgic-Rule Extraction (EXPLORE) algorithm. The application performs and exhaustive search on all Boolean Normal Form decision rules.
## Package installation
You can install the latest version of EXPLORE like so:
```{r, eval=FALSE}
install.packages("remotes")
remotes::install_github("mi-erasmusmc/EXPLORE")
```
Additional instructions: to be added.
## Example usage using iris dataset
```{r}
library(Explore)
library(farff)
```
Load data:
```{r, eval=FALSE}
data <- farff::readARFF(system.file("examples/iris.arff", package = "Explore"))
output_path <- file.path(getwd(), "output//")
```
Fit model with defaults and/or input parameters:
```{r, eval=FALSE}
model <- Explore::trainExplore(output_path = output_path,
file_name = "iris",
train_data = data,
ClassFeature = "'class'",
PositiveClass = '"Iris-versicolor"')
```
Predict:
```{r, eval=FALSE}
prediction <- Explore::predictExplore(model, test_data = data)
```
Additional documentation includes:
- Vignette code examples in combination with PLP: [to be added](~/Documents/Git/Explore/vignettes/EXPLORE_withPLP.Rmd)
- Package manual: [to be added](~/Documents/Git/Explore/vignettes/Explore_1.0.pdf)
## Development status
EXPLORE is under active development.
## Publication
Rijnbeek, P.R., Kors, J.A. Finding a short and accurate decision rule in disjunctive normal form by exhaustive search. Machine Learning 80, 33–62 (2010). https://doi.org/10.1007/s10994-010-5168-9