predict.elm.fast: Predictions for ELM (fast) network.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/elm.fast.R

Description

Calculate predictions for ELM (fast) network.

Usage

1
2
## S3 method for class 'elm.fast'
predict(object, newx, na.rm=c(FALSE,TRUE),...)

Arguments

object

ELM network object, produced using elm.fast.

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.

Value

Y.hat

Ensemble prediction.

Y.all

Predictions of each training repetition.

Author(s)

Nikolaos Kourentzes, [email protected]

See Also

elm.fast, plot.elm.fast.

Examples

1
2
3
4
5
6
7
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)

trnnick/TStools documentation built on Aug. 12, 2018, 4:31 a.m.