Research Article
Bus Single-Trip Time Prediction Based on Ensemble Learning
Algorithm 2
AdaBoost-Boosting ensemble model.
| Input: Training set ; | | Sub-models ; | | Number of learning rounds T; | (1) | # Initialize the weight distribution | (2) | for | (3) | , # Train a leaner from D using # distribution | (4) | , # Measure the error of | (5) | if then break | (6) | , # Determine the weight of | (7) | ,# Update the distribution, where is a nomolization factor that enables to be distribution | (8) | End for | | Output: |
|