This project is a development of Convolutional Neural Network (CNN) model for detecting brain tumour in brain MRI images. The dataset is retrieved from kaggle uploaded by Navoneel Chakrabarty.
After training for 15 epochs, the model acheive the accuracy of 0.9961 as shown in the figure belows.

To run this repository locally, you should first create Kaggle API Token before uploading it into Google Colab. You may need to edit path of the downloaded dataset in cell 3, unzipping the dataset, cell 5, loading dataset, and cell 13, trying to predict the result from dataset. All of the dependencies used in training model are automatically downloaded in the beginning.
This code provide basic training of CNN for detecting brain tumour from brain MRI images. The model can be downloaded and improved by applying data augmentation technnique, class-imbalanced improvement technique and finetuing model for better performance.
This is my first project about CNN in 2021 for educational purpose. I have learned basic usage of TensorFlow, Keras, and fundamentals of CNN during this projects. This inspires me to further study machine learning, especially in medical application