We combined a youth AI contest with Severstal's tasks and built a supply disruption predictor

Stanislav Nozdrin17 Oct 2024

Problem

A supplier that misses a delivery date costs the buying company money and reputation, and can end in lost clients. Severstal wanted an early warning for purchase order items that will not arrive on time, to reserve resources, talk to suppliers sooner and tighten control. Its first model worked, but the supply process changed. The team needed to know what an updated model could reach on richer data and which features to keep.

Example from the article: Severstal gave a dataset to teams in the AI Challenge contest for school and university students under 18. They had to predict, per purchase order item, whether any delivery would arrive on time.

Solution in brief

Treat a supply disruption as binary classification on purchase order items. Train gradient boosting on order, supplier, organization and approval-stage features, and tune it for F1 rather than accuracy because only about a quarter of items fail. Run the task as an outside contest to learn achievable accuracy on new data, which features matter and which insights business users want.

Questions this case answers
  • How to predict which scheduled deliveries from external suppliers will fail when failures are a minority class and the business process has changed since the last model
  • How to evaluate a binary classifier on an imbalanced sample where accuracy is misleading
  • How to predict which purchase order items will miss their delivery date so that the company can react in advance?
  • How to choose a metric for a binary classifier when only about 25% of cases are positive?

Tools and methods

  • CatBoost — gradient boosting model, retrained weekly on newly accumulated data in the first version
  • Binary classification — class 1: no delivery on time; class 0: at least one delivery on time
  • F1-score with TPR and FPR control — the training target for an imbalanced class
  • Per-prediction explanation — contest teams showed which features drove each probability
Continue reading — it's free

Google or a one-time email code. No password.