This R package implements the Bodi algorithm. The goal of Bodi (BOosting DIversity) is to construct a sequence of learners actively promoting diversity among them. Then, increasing diversity ensures the reduction of the mean-square-error producing a strong(er) ensemble learner.
You can install the released version of Bodi from CRAN with (soon):
install.packages("Bodi")
or from Gitlab (need to make repo public or use a PAT)
::install_gitlab("yannig/bodi") remotes
Bodi has a main function called boosting_diversity
. This
basic example shows how to obtain the Bodi fit of a simple dataset :
library(Bodi)
<- na.omit(airquality)
all <- sample(nrow(all), .8 * nrow(all))
smp boosting_diversity("Ozone", "Solar.R+Wind+Temp+Month+Day",
data0 = all[smp, ], data1 = all[-smp, ])
See the documentation for further details.
This research development benefited from the support of the «FMJH Research Initiative Data Science for Industry», and from the support to this program from EDF.