Displaying 1 result from an estimated 1 matches for "tempmod100its".
2012 May 30
1
caret() train based on cross validation - split dataset to keep sites together?
...?? 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 +
tempc7day + tempd7day + tempe7day + tempa30day + tempb30day +
tempc30day + tempd30day +
tempe30day, d...