Step 5: Decision Tree (Classification)
A Decision Tree classifier was trained using the 70% training set to predict whether newly placed orders would fail to secure a driver. The model was then applied to the unseen 30% test set, with class probabilities retained as each order’s predicted failure risk. Performance was evaluated using a confusion matrix, precision, recall and F1-score, with particular focus on identifying Failed to Secure orders. The resulting failure probabilities were converted into percentage risk scores and ranked from highest to lowest to support GoGoX’s prioritisation of early intervention.
Decision Tree Interpretation (From Decision Tree Learner): Requested vehicle type formed the first major split in the model, confirming that matching risk differs substantially across vehicle categories. Subsequent splits show that risk also depends on combinations of timing, order price and booking lead time. For example, van orders were generally lower-risk, but van pickups at or before 6:30am recorded a substantially higher failure rate (~58.8%). This demonstrates that high-risk orders are better identified through combinations of characteristics rather than any single factor alone.