Jesús R. L. GonzálezSource code on GitHub

Which defect does each steel plate have, and when should a person check?

Seven defect types, 27 measurements per plate. A frozen model classifies the defect, and a review rule decides which predictions go to an inspector.

0.815macro-F1 classifying the defect type of 389 already-defective plates never used to build the modelEvaluated once on an independent holdout

What the result means

Review queue
Confidence below 0.80 goes to review: 81 of the 82 errors land there
Cost per 1,000 plates
750 review units vs 1,000 for reviewing everything, if a miss costs 10 reviews
Monitoring
Unit changes and camera recalibration are flagged against the training plates
Delivery
SQL data contract, ONNX export, Docker and a Power BI layer

The main chart

Dashboard with the recommended action by defect type
Decision view of the quality-intelligence layer: action by defect type, with the ISO 9001 clause each own rule is aligned with (rules not audited).

How the decision was made

  1. Data contract and leakage audit on the public dataset.
  2. Stratified split; cross-validation on training only.
  3. Baseline, candidates and controlled tuning; model frozen before the holdout.
  4. One holdout evaluation, error analysis and an assumption-based review policy.

What it does not claim

  • Every plate in the data is already defective: it classifies defects, it does not predict them.
  • The 0.80 review threshold is development-only and not validated prospectively.
  • Costs are assumptions you supply, not plant data.

Model Card and full evidence in the repository.

Try it

Explore defect cost, capability and the recommended action by defect type.

Open the live demo