Deep Learning for Reliable Healthcare: Insights from Chest X-Ray Prediction