powered by
Calculate predictions for ELM (fast) network.
# S3 method for elm.fast predict(object, newx, na.rm = c(FALSE, TRUE), ...)
ELM network object, produced using elm.fast.
elm.fast
Explanatory variables. Each column is a variable.
If TRUE remove columns and object produces an ensemble forecast, then remove any members that give NA in their forecasts.
Unused argument.
Returns a list with:
Y.hat - Ensemble prediction.
Y.hat
Y.all - Predictions of each training repetition.
Y.all
elm.fast.
# NOT RUN { p <- 2000 n <- 150 X <- matrix(rnorm(p*n),nrow=n) b <- cbind(rnorm(p)) Y <- X %*% b fit <- elm.fast(Y,X) predict(fit,X) # } # NOT RUN { # }
Run the code above in your browser using DataLab