This project focuses on the classification of brain MRI images to detect tumors using two types of neural networks: Multi-Layer Perceptron (MLP) and Convolutional Neural Network (CNN).
Brain tumor detection is a critical task in medical imaging. This project aims to classify brain MRI images to detect the presence of tumors using two different neural network architectures: MLP and CNN.
The dataset used in this project consists of brain MRI images labeled as either having a tumor or not. The images are preprocessed and split into training and testing sets.
The MLP model is a fully connected neural network that consists of multiple layers of neurons. It is trained on the flattened MRI images to classify them as tumor or non-tumor.
The CNN model is a deep learning architecture specifically designed for image classification tasks. It consists of convolutional layers, pooling layers, and fully connected layers. The CNN model is trained on the MRI images to detect tumors with higher accuracy.
The performance of both models is evaluated using metrics such as accuracy. The results show that the CNN model outperforms the MLP model in terms of accuracy and other evaluation metrics.
To run the notebook and train the models, follow these steps:
- Clone the repository.
- Install the required dependencies.
- Run the notebook to preprocess the data, train the models, and evaluate their performance.
Contributions are welcome! If you have any suggestions or improvements, please create a pull request or open an issue.