AI in Oncology: Transforming Cancer Detection through Machine Learning and Deep Learning Applications