View source: R/FcExtremeLearningMachines.R
FcExtremeLearningMachines | R Documentation |
Special case for a multilayer perceptrone feed forward network with backpropagation used for forecasting [Huang et al., 2005]
FcExtremeLearningMachines(DataVec, Time, SplitAt,
Predictors, ForecastHorizon, No_HiddenLayers = NULL,
Scaled = TRUE, No_TrainingNetworks = 10,
PlotEvaluation = FALSE, PlotIt = FALSE,...)
DataVec |
[1:n] numerical vector of time series data |
Time |
[1:n] character vector of Time in the length of data |
SplitAt |
Scalar 'k' with k<n, index of row where the |
Predictors |
[1:n,1:d] data frame or matrix of d predictores with n values each |
No_HiddenLayers |
Number of hidden layers, see |
Scaled |
Should the data and regressors be scaled before applying the model? |
No_TrainingNetworks |
Number of Training Networks, see |
PlotEvaluation |
Plot output of training data regarding and network architecture |
PlotIt |
Simple plot to compare forecasting of future |
... |
Further arguments passed on to |
The parameters of hidden nodes (not just the weights connecting inputs to hidden nodes) need not be tuned. These hidden nodes can be randomly assigned and never updated (i.e. they are random projection but with nonlinear transforms), or can be inherited from their ancestors without being changed. In most cases, the output weights of hidden nodes are usually learned in a single step. According to their creators, these models are able to produce good generalization performance and learn thousands of times faster than networks trained using backpropagation [Huang et al., 2005].
Model |
Model paramters, see example |
Forecast |
Forecast, see example |
TrainingData |
TrainingData, see example |
TestData |
TestData, see example |
Accuracy |
ME, RMSE, MAE, MPE, MAPE of training and test dataset in a matrix |
For an introduction to neural networks see: Ord K., Fildes R., Kourentzes N. (2017) Principles of Business Forecasting 2e. Wessex Press Publishing Co., Chapter 10.
Michael Thrun
[Huang et al., 2005] Huang, Guang-Bin; Zhu, Qin-Yu; Siew, Chee-Kheong: "Extreme learning machine: theory and applications". Neurocomputing, Vol. 70 (1), pp. 489–501, 2005
elm
requireNamespace('ggfortify')
x=fortify(datasets::sunspot.month)
x=ggfortify::fortify(datasets::sunspot.month)
#Example for a bad forecast
results=FcExtremeLearningMachines(DataVector = x$Data,Time = x$Index, SplitAt=2800)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.