The document presents a study on an approach for diagnosing cervical cancer utilizing artificial intelligence, particularly through machine learning and deep learning techniques implemented in Keras. The proposed method enhances diagnosis accuracy to 94.18% by employing class weighting and oversampling to handle imbalanced datasets derived from patients' risk factors. The paper details the methodology, dataset characteristics, and the model building process aimed at improving early detection of cervical cancer, which is crucial due to the disease's often silent progression.