|
Algorithm 1 AdaBoost-LSTM |
-
Input:
The labeled target time series sequence, T, of size n, the maximum number of iterations, N and a base learning algorithm, Learner LSTM. Set the initial weight vector: .
-
Output:
Strong learner is equal to the prediction result and its corresponding generated by weight collection.
-
1:
Call learner with the training set, T, according to the distribution, , to train and give the hypothesis, .
-
2:
Calculate the adjusted error for every sample:
-
3:
Calculate the adjusted error of the model:
if , stop and set .
-
4:
Let . Update the weight vector: .
( is a normalizing constant.)
-
5:
Loop step 1 to 4. Reserve all models: .
|