Closed gtalckmin closed 4 years ago
Also, it would be great to know how you plot the contour plots for desirability vs RMSE on that chapters.
library(desirability)
library(viridisLite)
functionRMSE<- desirability::dMin(30,75,1)
functionSize <- desirability::dMin(3, 15, 0.5)
xgrid<- seq(min(functionRMSE$low), max((functionRMSE$high), 0.5))
ygrid<- seq(min(functionSize$low), max(functionSize$high), 0.5)
data.fit <- expand.grid(x = xgrid, y = ygrid )
overall <- desirability::dOverall(functionRMSE, functionSize)
D <- predict(overall, data.fit)
DM<-matrix(c(D), ncol=length(ygrid), nrow=length(xgrid))
coul <- viridis(100)
lattice::levelplot(DM, col.regions=coul, contour=T, labels=T, interpolate=T, cuts= 20, region=T, pretty=T)
Hello Max,
First, let me acknowledge how beneficial both of your books are to my research.
If I am allowed a suggestion, I reckon that chapters 21 and 22, despite extensively explaining the workflow for feature selection, may not explicitly show to users how to pass a caretGA/train (for all caret model) feature selection as well as changing basic GA parameters (mutation, cross-over etc).
A quick google search will show that there is a lot of people using rfGA for feature selection and later running a glm on top of the selected features. Not sure that is the intention.
Cheers,