search for: duracao

Displaying 2 results from an estimated 2 matches for "duracao".

Did you mean: curacao
2005 Oct 27
0
Fw: Example where PPR crashes
...r (for example: v1 <- c('A', 'A', 'B','C','B','A') and v2 <- c(1,1,2,3,2,1), for some parameters sets it crashes, also. One example: 1. Copy the following data to a new text file named 'errorexample.txt'. "InicioViagem","Duracao","DiaSemana","DiaAno" "1705",47364,4376,"quarta-feira ",56 "1695",47900,5270,"quarta-feira ",56 "1692",49828,5182,"quarta-feira ",56 "1690",50779,5489,"quarta-feira ",56 "1703",52297,5...
2004 Oct 13
0
Problems with randomForest for regression
...se sliding window trategy. library("randomForest") rf.theil <- vector() learner='randomForest' for (i in 1:6) { eval.sum <- 0 test.pos=test.pos.ini while (test.pos <= n) { naive.pred <- c(orig.data[test.pos-1,7]) model <- randomForest(Duracao ~ ., data=orig.data[1:(test.pos-1),], na.action=na.omit, ntree=5000, mtry=i) preds <- predict(model,orig.data[test.pos:min(n,test.pos+relearn.step- 1),]) test.pos <- test.pos+relearn.step a<-theil(preds, naive.pred, orig.data[test.pos:min (n,test.pos+relearn.step...