Algorithm 1 Training process for TFFNet | |
Input: traffic flow matrices: ; | |
external factors: ; | |
lengths of temporally dependent sequences: , , and ; | |
period parameter: ; trend parameter: . | |
Output: TFFNet model . | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
for all available time intervals () do // is the target value at time interval t put a training instance into initialize model parameters repeat randomly select a batch of training instances from find by minimizing the objective with until the stopping criteria is satisfied output the learned TFFNet model |