Machine learning (ML) has revolutionised industries by enabling systems to learn from historical data, predict…