Displaying 1 result from an estimated 1 matches for "temptunegrid".
2012 May 30
1
caret() train based on cross validation - split dataset to keep sites together?
....4
18994??? 1980-04-06????????? 8.3???????????12.6
90342??? 1980-07-13????????? 18.9??????????22.3
90342??? 1980-07-14????????? 19.3??????????28.4
EXAMPLE SCRIPT FOR MODEL FITTING
fitControl <- trainControl(method = "repeatedcv", number=10, repeats=3)
tuning <- read.table("temptunegrid.txt",head=T,sep=",")
tuning
# # Model with 100 iterations
registerDoMC(4)
tempmod100its <- train(watmntemp~tempa + tempb + tempc + tempd + tempe +
netarea + netbuffor + strmslope +
netsoilprm + netslope + gwndx + mnaspect + urb + ag + forest +
buffor + tempa7day + tempb7day +...