Skip to content

This repository is dedicated to raising awareness about prostate cancer through the prediction of prostate cancer and the explanation of the model's prediction using OmniXAI Explainers.

Notifications You must be signed in to change notification settings

siraug/Prostate-Cancer-Prediction-With-OmniXAI

Repository files navigation

Introduction

Healthcare companies are increasingly using AI to lessen the burden on healthcare professionals, enhance healthcare services, analyze patient records, and cut costs. However, understanding the decision-making process of AI systems, particularly black box algorithms, can be challenging due to a lack of transparency. This lack of transparency can lead to inaccurate or biased findings, resulting in legal action, harm to the business's reputation, and loss of confidence in the use of black box algorithms. To ensure patients are willing to participate in clinical trials or receive personalized treatments, it's important that they understand how algorithms work and generate their findings. The study aims to assess current integrated XAI frameworks that can help reduce the use of opaque predictions in prostate cancer.

Prostate Cancer

The prostate gland is a small component of the male reproductive system, roughly the size and shape of a walnut. It is situated in the pelvis, below the bladder, and in front of the rectum. Prostate cancer is a condition where cancer cells develop within the tissues of the prostate. Unlike many other forms of cancer, prostate cancer tends to progress slowly, often taking several years for symptoms to manifest. To diagnose prostate cancer, medical professionals frequently perform a digital rectal exam (DRE). This procedure involves a brief examination of the prostate's size, texture, rigidity, and the detection of any abnormalities such as hard spots, lumps, or growths that extend beyond the prostate. Any discomfort experienced during the examination is also noted (National Cancer Institute, 2023).

Dataset Description

The Prostate Dataset contains records for 100 patients, including ten variables (eight numeric and one categorical variable, ID). The dataset, as described by Celik in 2020, includes the following variables:

  • ID: A unique patient record number.
  • diagnosis_result: A categorical variable indicating the diagnosis result, either 'B' for Benign or 'M' for Malignant.
  • radius: Denotes the prostate cell radius.
  • texture: Prostate cell texture.
  • perimeter: The circumference of the prostate cell.
  • area: Prostate cell area.
  • smoothness: Prostate cell smoothness.
  • compactness: The volume of the prostate cell.
  • symmetry: A measure of the quality of symmetry.
  • fractal_dimension: A combined measure representing both compactness and symmetry.

Code Implementation

Google Colab was used to implement this project. At the initial stage, the necessary packages were installed on Google Colab. The packages installed are omnixai, dash and Interpret. Dash is a Python framework used to build data visualization dashboards. Omnixai and interpret are the packages containing the libraries needed for the usage of the OmniXAI framework. Once the packages had been installed, the needed libraries for the tabular data predictions were installed. These libraries also included LIME and SHAP explainers from the selected integrated frameworks. The prostate cancer tabular dataset was uploaded to Google Colab and imported using the file directory on Google Colab.

Usage

You can utilize this dataset for various purposes, such as:

  • Prostate Cancer Research: Analyze the dataset to identify patterns or factors that may be associated with prostate cancer diagnosis.
  • Machine Learning: Develop predictive models to classify new cases as Benign or Malignant based on the provided features.
  • Statistical Analysis: Perform statistical tests and exploratory data analysis to gain insights into the dataset.

Contributions

I would greatly encourage you to contribute to this repository. If you have information, resources, or tools related to prostate cancer awareness that you'd like to share, please feel free to submit a pull request.

References

This repository is licensed under Creative Commons Attribution 4.0 International License. Please review the license terms before using or contributing to this project.

About

This repository is dedicated to raising awareness about prostate cancer through the prediction of prostate cancer and the explanation of the model's prediction using OmniXAI Explainers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published