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.

Back to All Projects

Project Overview

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 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.

Category
Machine Learning
Completion Date
May 2025
Technologies
Python 3 Jupyter Notebook pandas NumPy NIAPY GeneticAlgorithm PySwarm PSO scikit-learn matplotlib
File Preview (View Only)