predict.elm.fast | R Documentation |
Calculate predictions for ELM (fast) network.
## S3 method for class 'elm.fast'
predict(object, newx, na.rm = c(FALSE, TRUE), ...)
object |
ELM network object, produced using |
newx |
Explanatory variables. Each column is a variable. |
na.rm |
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.all
- Predictions of each training repetition.
Nikolaos Kourentzes, nikolaos@kourentzes.com
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.