Optimizing Heart Disease Prediction Models Using Genetic Algorithm and Neural Architecture Search

Pipeline to predict heart disease by tuning classical classifiers with a Genetic Algorithm (via NIAPY & PSO) and then refining deep-learning model architectures using AutoKeras neural-architecture search.

Category
Machine Learning
Completion Date
May 2025
Technologies Used
Python 3 Jupyter Notebook pandas NumPy NIAPY GeneticAlgorithm PySwarm PSO scikit-learn matplotlib
Project File
Downloading is only permitted with permission from Ameen Qahtan. Contact him to get permission.

Project Overview

<p><span style=\"white-space: normal;\">The project loads the “heart.csv” dataset into pandas, performs standard preprocessing (scaling, train–test split) , then defines an optimization task over a RandomForestClassifier’s hyperparameters using a Genetic Algorithm from NIAPY and PSO from PySwarm&nbsp;</span></p><p>In parallel, it employs AutoKeras to search for an optimal neural-network architecture (built on TensorFlow) and compares both approaches via accuracy, confusion matrices, and classification reports.</p>

Project File

Preview of the project's File