Skip to content

Latest commit

 

History

History

multimodal_cancer_detection

Multimodal Breast Cancer Detection Explainability using the Intel® Explainable AI API

This notebook demonstrate how to use the Explainable AI API for PyTorch CNN and Transformer models in a multimodal architecture. This notebook also includes the Intel® Transfer Learning Tool and the Intel® Extension for Transformers library.

Multimodal_Cancer_Detection.ipynb performs the following steps:

  1. Import dependencies
  2. Prepare image and text datasets
  3. CNN image classification
    1. Analyze image dataset
    2. Get the model
    3. Download and prepare the dataset
    4. Transfer learning
    5. Evaluate
    6. Error Analysis
    7. Explanation
  4. BERT text classification
    1. Analyze text dataset
    2. Get the model
    3. Prepare the dataset
    4. Transfer learning
    5. Evaluate
    6. Error Analysis
    7. Explanation
  5. Post-training quantization
    1. Configure and quantize the current BERT model
    2. Evaluate
    3. Error Analysis

The dataset_utils.py holds the supporting functions that prepare the image and text datasets.

Running the notebook

To run Multimodal_Cancer_Detection.ipynb, install the following dependencies:

  1. Intel® Explainable AI
  2. Further dependencies to be installed in the notebook

References

Dataset citations

Khaled R., Helal M., Alfarghaly O., Mokhtar O., Elkorany A., El Kassas H., Fahmy A. Categorized Digital Database for Low energy and Subtracted Contrast Enhanced Spectral Mammography images [Dataset]. (2021) The Cancer Imaging Archive. DOI: 10.7937/29kw-ae92

Publication Citation

Khaled, R., Helal, M., Alfarghaly, O., Mokhtar, O., Elkorany, A., El Kassas, H., & Fahmy, A. Categorized contrast enhanced mammography dataset for diagnostic and artificial intelligence research. (2022) Scientific Data, Volume 9, Issue 1. DOI: 10.1038/s41597-022-01238-0

TCIA Citation

Clark K, Vendt B, Smith K, Freymann J, Kirby J, Koppel P, Moore S, Phillips S, Maffitt D, Pringle M, Tarbox L, Prior F. The Cancer Imaging Archive (TCIA): Maintaining and Operating a Public Information Repository, Journal of Digital Imaging, Volume 26, Number 6, December, 2013, pp 1045-1057. DOI: 10.1007/s10278-013-9622-7