forked from mi-erasmusmc/Explore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mi-erasmusmc#3 from mi-erasmusmc/development
Latest version
- Loading branch information
Showing
290 changed files
with
402 additions
and
151,740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^vignettes$ | ||
^output$ | ||
^docs$ | ||
^Meta$ | ||
^README\.Rmd$ | ||
^LICENSE\.md$ | ||
^\.github$ | ||
^_pkgdown\.yml$ | ||
^pkgdown$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,49 @@ | ||
.Rproj.user | ||
# History files | ||
.Rhistory | ||
|
||
# Session Data files | ||
.RData | ||
.RDataTmp | ||
|
||
# User-specific files | ||
.Ruserdata | ||
.DS_STORE | ||
|
||
# Output files from R CMD check | ||
/*.Rcheck/ | ||
|
||
# RStudio files | ||
.Rproj.user/ | ||
|
||
# Produced vignettes | ||
vignettes/*.html | ||
vignettes/*.pdf | ||
|
||
# R Environment Variables | ||
.Renviron | ||
|
||
# Documents and results | ||
docs/ | ||
output/ | ||
|
||
# Mac files | ||
.DS_STORE | ||
.idea/ | ||
|
||
# Compiled Object files | ||
*.o | ||
*.obj | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Compiled Static libraries | ||
*.a | ||
*.lib | ||
|
||
# Other C++ files | ||
**/__history/ | ||
|
||
# EXPLORE result files | ||
*.result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
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("inst/examples/iris.arff") | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,59 @@ | ||
# EXPLORE Package | ||
Finding a short and accurate decision rule in disjunctive normal form by exhaustive search. | ||
The application performs and exhaustive search on all Boolean Normal Form decision rules. | ||
|
||
## User Documentation | ||
Available documentation includes: | ||
- Package manual: to be added. | ||
## 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 | ||
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 | ||
data <- farff::readARFF("inst/examples/iris.arff") | ||
output_path <- file.path(getwd(), "output/") | ||
``` | ||
|
||
Fit model with defaults and/or input parameters: | ||
|
||
``` r | ||
model <- Explore::trainExplore(output_path = output_path, file_name = "iris", train_data = data, ClassFeature = "'class'", PositiveClass = '"Iris-versicolor"') | ||
``` | ||
|
||
Predict: | ||
|
||
``` r | ||
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. Mach Learn 80, 33–62 (2010). https://doi.org/10.1007/s10994-010-5168-9 | ||
|
||
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> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.