
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
require(deepdive)
x<-data.frame(x1=runif(10),x2=runif(10))
y<-data.frame(y=10*x$x1+20*x$x2+20)
mdeepf<-deepforest(x,y,
networkCount=2,
layerChoice=c(2:3),
unitsChoice=c(4:10),
cutVarSizePercent=0.6,
cutDataSizePercent=0.6,
activation = c('relu',"sin"),
reluLeak=0.01,
modelType ='regress',
iterations = 10,
eta = 10 ^-2,
seed=2,
gradientClip=0.8,
regularisePar=0,
optimiser="adam",
parMomentum=0.9,
inputSizeImpact=1,
parRmsPropZeroAdjust=10^-8,
parRmsProp=0.9999,
treeLeaves=NA,
treeMinSplitPercent=0.3,
treeMinSplitCount=100,
treeCp=0.01 ,
errorCover=0.2,
treeAugment=TRUE,
printItrSize=100,
showProgress=TRUE,
stopError=0.01,
miniBatchSize=64,
useBatchProgress=TRUE)
# }
Run the code above in your browser using DataLab