Setting up packages

#need rtools 
#install.packages(c("devtools","SamplingStrata","Rcpp", "RcppArmadillo","mlrMBO", "cluster","e1071"))
library(devtools)#Install from source those packages which need compilation? Yes
library(SamplingStrata)
install_github("MervynOLuing/hEDA")
library(hEDA)
devtools::install_github("r-pkg-examples/rcpp-and-doparallel")
library("Rcpp2doParallel")

Example of EDA component of the HEDA on the iris data set

N M1 M2 S1 S2
1*1 40 1.457500 0.235000 0.1715918 0.1038027
1*2 5 3.400000 1.100000 0.2966479 0.1549193
1*3 1 4.500000 1.700000 0.0000000 0.0000000
2*1 10 1.480000 0.290000 0.1720465 0.0943398
2*2 31 4.229032 1.306452 0.3620671 0.1916574
2*3 12 5.066667 1.883333 0.2248456 0.2702879
3*2 14 4.635714 1.450000 0.2091040 0.1118034
3*3 37 5.737838 2.081081 0.4961208 0.2523809

Running EDA

Mutation

  • Use perturbation to deal with extreme probabilities of 0 and 1