Class Distribution

Class Distribution Graph

This chart visualizes the distribution of benign (Class 0) and attack (Class 1) samples in the dataset.

Key Observations:

The imbalance indicates that there are significantly more benign samples than attack samples, reflecting real-world IoMT network traffic.

Implications:
The imbalance could lead to bias in the model. Strategies like class-weighted loss, oversampling, or undersampling will help in improving the detection of minority class attacks (Class 1).