prediction_models: Time series prediction models

Description Usage Arguments Value Linear models Machine learning models Author(s) See Also

Description

Constructors for the modeling class representing a time series modeling and prediction method based on a particular model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
ARIMA(train_par = list(), pred_par = list(level = c(80, 95)))

ETS(train_par = list(), pred_par = list(level = c(80, 95)))

HW(train_par = list(), pred_par = list(level = c(80, 95)))

TF(train_par = list(), pred_par = list(level = c(80, 95)))

NNET(
  size = 5,
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = size + 1),
  proc = list(MM = MinMax())
)

RFrst(
  ntree = 500,
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = 6),
  proc = list(MM = MinMax())
)

RBF(
  size = 5,
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = size + 1),
  proc = list(MM = MinMax())
)

SVM(
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = 6),
  proc = list(MM = MinMax())
)

MLP(
  size = 5,
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = size + 1),
  proc = list(MM = MinMax())
)

ELM(
  train_par = list(),
  pred_par = list(),
  sw = SW(window_len = 6),
  proc = list(MM = MinMax())
)

Tensor_CNN(
  train_par = NULL,
  pred_par = list(level = c(80, 95)),
  sw = SW(window_len = 6),
  proc = list(MM = MinMax())
)

Tensor_LSTM(
  train_par = NULL,
  pred_par = list(batch_size = 1, level = c(80, 95)),
  sw = SW(window_len = 6),
  proc = list(MM = MinMax())
)

Arguments

train_par

List of named parameters required by train_func.

pred_par

List of named parameters required by pred_func.

size

See mlp

sw

A SW object regarding sliding windows processing.

proc

A list of processing objects regarding any pre(post)processing needed during training or prediction.

ntree

See randomForest

Value

An object of class modeling.

Linear models

ARIMA: ARIMA model. train_func set as auto.arima and pred_func set as forecast.

ETS: Exponential Smoothing State Space model. train_func set as ets and pred_func set as forecast.

HW: Holt-Winter's Exponential Smoothing model. train_func set as hw and pred_func set as forecast.

TF: Theta Forecasting model. train_func set as thetaf and pred_func set as forecast.

Machine learning models

NNET: Artificial Neural Network model. train_func set as nnet and pred_func set as predict.

RFrst: Random Forest model. train_func set as randomForest and pred_func set as predict.

RBF: Radial Basis Function (RBF) Network model. train_func set as rbf and pred_func set as predict.

SVM: Support Vector Machine model. train_func set as tune.svm and pred_func set as predict.

MLP: Multi-Layer Perceptron (MLP) Network model. train_func set as mlp and pred_func set as predict.

ELM: Extreme Learning Machine (ELM) model. train_func set as elm_train and pred_func set as elm_predict.

Tensor_CNN: Convolutional Neural Network - TensorFlow. train_func based on functions from tensorflow and keras, and pred_func set as predict.

Tensor_LSTM: Long Short Term Memory Neural Networks - TensorFlow. train_func based on functions from tensorflow and keras, and pred_func set as predict.

Author(s)

Rebecca Pontes Salles

See Also

Other constructors: LT(), MSE_eval(), evaluating(), modeling(), processing(), tspred()


TSPred documentation built on Jan. 21, 2021, 5:10 p.m.