← All projects

PROJECT 088 / 102 · Manufacturing

Fault recognition confusion analysis.

Which true fault classes are most often confused with another class?

Focused analytical studySteel plate faultsExecuted notebook

THE RESULT

What the data shows

The largest computed metric is 0.3929 for Pastry -> Other_Faults; the smallest is 0 for Dirtiness -> Pastry. Metric: actual_class_share (Share of true-class test records).

Rates use the true-class denominator; the full CSV includes zero-count off-diagonal pairs.

Fault recognition confusion analysis — chart from the computed study output
Computed study output. Full values and units are available in the results download.
Computed results · 12 of 42 rows. Values rounded for display; source units and raw column names are retained in the download.
actualpredictedcountactual class shareconfusion
BumpsOther_Faults330.3667Bumps -> Other_Faults
Other_FaultsBumps280.2121Other_Faults -> Bumps
PastryOther_Faults110.3929Pastry -> Other_Faults
Other_FaultsPastry60.04545Other_Faults -> Pastry
K_ScatchOther_Faults50.05952K_Scatch -> Other_Faults
Z_ScratchOther_Faults50.1471Z_Scratch -> Other_Faults
DirtinessOther_Faults30.3333Dirtiness -> Other_Faults
BumpsPastry30.03333Bumps -> Pastry
Other_FaultsZ_Scratch20.01515Other_Faults -> Z_Scratch
BumpsStains10.01111Bumps -> Stains
Other_FaultsDirtiness10.007576Other_Faults -> Dirtiness
K_ScatchBumps10.0119K_Scatch -> Bumps
Download the complete result table ↓

THE METHOD

From source to answer

Row-normalized confusion table for the fixed forest on the grouped holdout.

The Python source exposes this study’s transformations. The complete project download includes shared preparation and evaluation routines.

EVALUATION

How the result was checked

Fixed 80/20 split of unique input groups (seed 42); exact input duplicates stay together.

1,552Training observations
389Test observations

Fixed models; default decision threshold; no holdout tuning.

Target and input features

Target: fault

Inputs: pixels_areas, x_perimeter, y_perimeter, minimum_of_luminosity, maximum_of_luminosity, length_of_conveyer, typeofsteel_a300, typeofsteel_a400, steel_plate_thickness, edges_index, empty_index, square_index, outside_x_index, edges_x_index, edges_y_index, outside_global_index, logofareas, log_x_index, log_y_index, orientation_index, luminosity_index, sigmoidofareas

Download evaluation record ↓

THE NEXT DECISION

What follows from the finding

Review recurring class confusions with inspectors before changing labels or workflow.

Where the conclusion stops

Every source row is a recorded fault. The data cannot estimate a production defect rate or distinguish healthy plates. Batch and machine IDs are absent, so grouped exact-input holdouts do not prove factory transfer.

Related studies may reuse observations or holdouts. These are historical analyses; associations and backtests do not demonstrate commercial impact. Further model tuning needs new, untouched evaluation data.