Fig. 3: Confusion matrices for internal and external validation of the classification model. | npj Digital Medicine

Fig. 3: Confusion matrices for internal and external validation of the classification model.

From: Real-time detection of respiratory circuit events in mechanical ventilation using deep learning

Fig. 3

Internal (A) and external (B) validation results are shown. Rows represent the predicted labels, and columns represent the true waveform labels. Diagonal elements indicate correctly classified samples, with darker shades reflecting higher counts. The grey dashed lines demarcate the analysis boundaries between flow and volume waveform categories; performance metrics were computed independently within these groups. The model demonstrated strong classification consistency, particularly in identifying sawtooth flow and non-zero volume patterns.

Back to article page