Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. control <- trainControl(method = "timeslice", initialWindow = 225, fixedWindow = TRUE, horizon = 1)
  2. mynn <- train(mytsframe4[,c(2:3)], mytsframe4[,1], method = "mlp", size = 2,
  3. metric = c("RMSE"), maximize = FALSE, trControl = control)
  4. mynn
  5.  
  6. Multi-Layer Perceptron
  7.  
  8. 236 samples
  9. 2 predictor
  10.  
  11. No pre-processing
  12. Resampling: Rolling Forecasting Origin Resampling (1 held-out with a fixed window)
  13. Summary of sample sizes: 225, 225, 225, 225, 225, 225, ...
  14. Resampling results across tuning parameters:
  15.  
  16. size RMSE Rsquared RMSE SD
  17. 1 0.05837386693 NaN 0.04002651320
  18. 3 0.05759843218 NaN 0.04774038998
  19. 5 0.07597407274 NaN 0.03000920417
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement