DecorateR allows you to build a Binary classification with DECORATE (Diverse Ensemble Creation by Oppositional Relabeling of Artificial Training Examples) (Melville and Mooney, 2005) The DECORATE function builds an ensemble of J48 trees by recursively adding artificial samples of the training data.
Before you install DecorateR make sure that you have installed rJava and RWeka. Also make sure that R correctly refers to the Java path.
Sys.setenv('JAVA_HOME'="C:/Program Files/Java/jdk-15.0.1/")
if (!require("pacman")) install.packages("pacman")
pacman::p_load(rJava, RWeka)
If rJava and RWeka are correctly installed, you can install the package from CRAN.
pacman::p_load(DecorateR)
To install the development version:
pacman::p_load_current_gh("MatthBogaert/DecorateR")
Melville, P., & Mooney, R. J. (2005). Creating diversity in ensembles using artificial data. Information Fusion, 6(1), 99-111.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.