This project implements two machine learning approaches for cancer prediction:
- A Multi-Layer Perceptron (MLP) for lung cancer risk prediction
- A Convolutional Neural Network (CNN) for skin cancer type classification
.
├── MLP/ # Lung Cancer Prediction
│ ├── Cancer_application.R # Shiny application for visualization
│ ├── Lung_Cancer_Dataset.csv # Dataset with 5,000 records
│ ├── NN_Lung_Cancer.Rmd # MLP implementation
│ └── NN_Lung_Cancer_NotPrebuilt.Rmd
└── CNN/ # Skin Cancer Classification
├── CNN.ipynb # CNN implementation
└── accuracy_plot.png # Model performance visualization
The MLP model predicts lung cancer likelihood based on 18 risk factors from a dataset of 5,000 records. The model features:
- 5 hidden layers
- Input features related to lung cancer risk factors
- Interactive visualization through a Shiny application
- Open
MLP/Cancer_application.Rin R Studio - Click the "Run App" button (green arrow) in the top right corner
- The application will launch on localhost (typically takes ~5 minutes to load)
The CNN model classifies skin cancer types using the HAM10000 dataset. The implementation includes:
- Convolutional neural network architecture
- Performance visualization
- Jupyter notebook with detailed implementation
- Open
CNN/CNN.ipynbin Jupyter Notebook - Run the cells sequentially to train and evaluate the model
- R Studio
- Required R packages:
- shiny
- neuralnet
- ggplot2
- dplyr
- Python 3.x
- Jupyter Notebook
- Required Python packages:
- tensorflow
- keras
- numpy
- pandas
- matplotlib
- 5,000 records
- 18 features related to lung cancer risk factors
- Binary classification task (cancer likelihood)
- 10,000 dermatoscopic images
- 7 different types of skin cancer
- Multiclass classification task