MRI Brain Scan Tumor Detection Model

Overview

This project focuses on building a machine learning model to detect brain tumors from MRI scans with high accuracy. The goal was to develop a robust classification model that can assist in early diagnosis by accurately predicting whether a brain scan indicates the presence of a tumor. The model achieved impressive performance, offering a 90% accuracy rate in detecting tumors from MRI images.

Method

The project began with data preprocessing, which included resizing, normalization, and augmentation of MRI brain scan images to improve the model's performance. A convolutional neural network (CNN) architecture was selected due to its strong performance in image recognition tasks. The model was trained using supervised learning techniques on a labeled dataset of MRI images, split into training and testing sets to ensure proper evaluation. Hyperparameters were fine-tuned to optimize accuracy and minimize overfitting. After training, the model was validated using various metrics, including accuracy, precision, and recall.

Libraries Used

  • TensorFlow: For building and training the CNN model.

  • Keras: A high-level API for TensorFlow, used to create and optimize the neural network.

  • NumPy: For data manipulation and handling.

  • Pandas: To manage and preprocess the dataset.

  • Matplotlib & Seaborn: For data visualization and plotting the results.

  • OpenCV: To process and resize the images.

Results

The CNN model demonstrated an accuracy rate of 90% on the test data, showing its effectiveness in detecting tumors from MRI brain scans. The precision and recall metrics indicated a balanced performance with minimal false positives and negatives. Visualization techniques, such as confusion matrices and ROC curves, were employed to further assess the model’s performance. This project demonstrates the potential of deep learning models in medical image analysis and how they can support clinical decision-making.

Github: https://github.com/LukeHolmessba23038/MRI-Brain-Tumor-Detection-App

MRI Brain Scan File
Previous
Previous

Irish Planning Applications Visualised

Next
Next

Ethereum Price Prediction Machine Learning Model