Neoadjuvant Therapy Classification Project
Project Overview
This project focuses on predicting the response to neoadjuvant therapy in cancer patients using various machine learning models. The dataset includes clinical and histopathological features of patients. The project includes data processing, feature engineering, model training, and evaluation.
Table of Contents
Data Description
The dataset used for this project is
Neoadj_base_luminaux - anonymise.xls. It contains clinical data and histopathological information for patients undergoing neoadjuvant therapy.Columns: The dataset has multiple columns including patient identifiers, clinical data, histopathological features, and outcome variables.
Setup
Requirements
To run this project, you'll need the following Python packages:
pandas
numpy
matplotlib
seaborn
scikit-learn
imbalanced-learn
xgboost
tensorflow
You can install the required packages using
pip:File Structure
Data Preparation
In the data_preprocessing.py script, the following steps are performed:
Loading Data: Load the dataset and additional features.
Data Cleaning: Drop irrelevant columns and encode categorical variables.
Feature Engineering: Merge features from different sources and select relevant features.
Handling Imbalanced Data: Apply SMOTE to balance the classes.
Feature Selection
Different feature selection methods are employed:
ANOVA: anova_top8 function selects features based on ANOVA test results.
Gini Index: GiniRF_top8 function selects features based on the Gini index from a Random Forest classifier.
SVM ANOVA: svm_anova function selects features relevant for SVM classification.
Machine Learning Models and evaluation
Various classifiers are trained and evaluated, including:
Random Forest Classifier
Support Vector Classifier
Logistic Regression
Gradient Boosting Classifier
XGBoost Classifier
The performance of the models is evaluated using cross-validation and metrics such as accuracy, specificity, sensitivity, and confusion matrices.
0 likes · 15 views · Jun 15, 2025
Predicted response to neoadjuvant therapy using machine learning models.