In this article
A high overall accuracy can hide poor recognition of the less frequent abnormal wafer class.
One case describes a sensor trace from processing
A manufacturing experiment may interpret Wafer as a table of independent sensor timestamps. The archive instead supplies labeled time-series cases derived from wafer processing measurements. Splitting individual sample positions changes both the observation unit and the target being evaluated.
The Wafer description identifies normal and abnormal classes and documents their imbalance. Preserve that case-level meaning rather than relabeling every unusual signal point as a separately observed anomaly.
The rare class changes how accuracy should be read
An always-normal predictor can benefit from the dominant class. Its overall correct fraction alone therefore says little about recognition of abnormal cases. This is a consequence of label prevalence, not evidence that a trained model is defective or that any particular alternative is superior.
Retain the actual class counts for each partition and compare predictions against a stated baseline. Do not rebalance the test set silently and then report the resulting figure as if it described the original population.
Balanced accuracy answers a different summary question
The balanced accuracy reference defines a class-aware summary through recall across classes. Report that definition with the result instead of treating its name as a synonym for ordinary accuracy.
A threshold or class-weight choice must be selected under the declared validation protocol. Tuning against the final test labels changes the experiment, even if the model weights were never updated during that selection.
A confusion matrix retains error direction
The confusion matrix API provides counts indexed by true and predicted labels. Preserve explicit class ordering so normal-to-abnormal and abnormal-to-normal errors cannot be reversed by a plotting convention.
The data identity guide explains why original label meaning must survive encoding. A heatmap without its label map can conceal the very rare-class failure the evaluation intended to expose.
Keep case provenance with every prediction
Inspect source case boundaries, partition membership, encoded labels, and exported predictions together. If several traces share additional provenance unavailable in the distributed files, do not invent an independence guarantee or a device-level grouping from row order alone.
The tensor-axis guide helps retain the case and time axes. Correct benchmark preparation and class-aware reporting do not establish production yield improvement, real-time anomaly localization, or transfer to a different semiconductor process without independent evidence.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.