Skip to content
Blog

Industrial machine failure prediction

Inspect machine failure and failure-mode scores

This example uses the synthetic AI4I 2020 predictive-maintenance dataset to model machine failure and five recorded failure modes from operating conditions. The saved model produces six separate scores; multiple failure modes may coexist.

10,000Source records
9Encoded input values
2,000Testing-role records
6Model outputs

1. Industrial challenge

Maintenance analysts need to distinguish the general failure label from specific mechanisms before deciding which observations need inspection. This example supports model evaluation and inspection planning, not a remaining-useful-life estimate or automatic machine shutdown.

Separate outcomes

Inspect the general failure label and each failure-mode score.

Measure missed failures

Compare sensitivity and false positives at the saved threshold.

Review operating conditions

Use results as evidence for engineering inspection.

Reliability engineeringMaintenance analyticsManufacturing
Synthetic operating-condition benchmark. These labels do not establish failure lead time or measured maintenance savings.

2. Data set

AI4I 2020 contains 10,000 synthetic operating records. The source models tool wear, heat dissipation, power, overstrain and random failures. Identifier fields are excluded from the model; product type is encoded alongside operating measurements.

Source: AI4I 2020 Predictive Maintenance Dataset. Dataset license: CC-BY-4.0. The downloadable ZIP includes the adapted data and attribution notices.

Dataset measureSaved value
Analysis unitsynthetic machine record
Records10,000
Raw variables13
Encoded model inputs9
Model outputs6
Training roles6000
Validation / selection roles2000
Testing roles2000
Unused roles0
FieldRoleTypeCategories
UDIInputNumeric
TypeInputCategoricalH, L, M
Air temperature [K]InputNumeric
Process temperature [K]InputNumeric
Rotational speed [rpm]InputNumeric
Torque [Nm]InputNumeric
Tool wear [min]InputNumeric
Machine failureTargetBinary0, 1
TWFTargetBinary0, 1
HDFTargetBinary0, 1
PWFTargetBinary0, 1
OSFTargetBinary0, 1
RNFTargetBinary0, 1
Target class distribution pie chart
Target class distribution pie chart. Native Neural Designer report for this project.
The saved project assigns rows to training, validation and testing as shown above. This is internal record-level evaluation; it does not demonstrate separation by subject, device, site or acquisition batch.

3. Model

The model has 9 encoded inputs and 6 outputs. No architecture-selection experiment is recorded in this project. The diagram shows the topology used by the saved model.

LayerInput shapeOutput shapeActivation
Scaling99
Dense93Tanh
Dense36Sigmoid

Output values are uncalibrated model scores. Use the output encodings and decision rule documented with this project; do not assume independent sigmoid scores sum to one.

Industrial machine failure prediction — initial network architecture
Topology of the saved current model; no architecture selection is recorded.

4. Training strategy

The saved training configuration uses QuasiNewton with CrossEntropy.

Quasi-Newton method results

MeasureValue
Epochs number151
Elapsed time00:00:01
Stopping criterionMinimum loss decrease
Training error0.152
Validation error0.173
Quasi-Newton method error history
Quasi-Newton method error history. Native Neural Designer report for this project.

5. Model selection

No model selection experiment is recorded for this version. The validation subset guides fitting where a training report is present; it is distinct from the held-out test rows.

On this test subset a majority-class baseline would correctly classify 96.95% of the records. This baseline does not detect both classes and is not an optimized model.

6. Testing analysis

The figures and tables below refer to the current project’s saved testing analysis. The subset uses testing role 2; it contains 2000 source records.

These operating-point metrics are calculated from the saved confusion counts at threshold 0.5. They apply to Machine failure; the remaining outputs have separate one-versus-rest tables.

Confusion table: Machine failure

MeasurePredicted positivePredicted negativeTotal
Actual positive17 (0.9%)44 (2.2%)61 (3.0%)
Actual negative4 (0.2%)1935 (96.8%)1939 (96.9%)
Total21 (1.0%)1979 (98.9%)2000 (100.0%)
Inspect every output confusion table

Confusion table: TWF

MeasurePredicted positivePredicted negativeTotal
Actual positive0 (0.0%)11 (0.6%)11 (0.6%)
Actual negative1 (0.1%)1988 (99.4%)1989 (99.4%)
Total1 (0.1%)1999 (99.9%)2000 (100.0%)

Confusion table: HDF

MeasurePredicted positivePredicted negativeTotal
Actual positive8 (0.4%)7 (0.3%)15 (0.8%)
Actual negative1 (0.1%)1984 (99.2%)1985 (99.3%)
Total9 (0.4%)1991 (99.6%)2000 (100.0%)

Confusion table: PWF

MeasurePredicted positivePredicted negativeTotal
Actual positive10 (0.5%)8 (0.4%)18 (0.9%)
Actual negative2 (0.1%)1980 (99.0%)1982 (99.1%)
Total12 (0.6%)1988 (99.4%)2000 (100.0%)

Confusion table: OSF

MeasurePredicted positivePredicted negativeTotal
Actual positive8 (0.4%)14 (0.7%)22 (1.1%)
Actual negative0 (0.0%)1978 (98.9%)1978 (98.9%)
Total8 (0.4%)1992 (99.6%)2000 (100.0%)

Confusion table: RNF

MeasurePredicted positivePredicted negativeTotal
Actual positive0 (0.0%)3 (0.2%)3 (0.2%)
Actual negative0 (0.0%)1997 (99.8%)1997 (99.8%)
Total0 (0.0%)2000 (100.0%)2000 (100.0%)
Test measureValue
Testing records2000
Positive cases61
Positive prevalence3.05%
Accuracy97.60%
Sensitivity / recall27.87%
Specificity99.79%
Precision / PPV80.95%
F1 score0.415

7. Model deployment

Open the downloaded project in Neural Designer, inspect the dataset roles and preprocessing, then review the saved task report. Use the same input schema and category order when calculating outputs. The ZIP contains the exact current .nd, its source data and the applicable dataset notices.

Workflow: source measurements → schema and availability checks → model output → domain review. Keep model versions, validation evidence and incoming-data monitoring together.

8. Scope and limitations

Randomly held-out synthetic rows do not establish transfer to a real compressor or production line. At threshold 0.5, the saved general-failure classifier misses 44 of 61 positive test rows; accuracy must be interpreted alongside this low recall. Validate against machine- and time-separated records before operational use.

References