Building a machine learning model. Using CNN (Convolutional Neural Network) model, we can predict weather a person has tumor (3 types) or not by submitting a image of CT-Scan or MRI.
A brain tumor is an abnormal growth or mass of cells in or around your brain. Together, spinal tumors and brain tumors are called central nervous system (CNS) tumors. Brain tumors can be malignant (cancerous) or benign (noncancerous). Some tumors grow quickly, while others are slow growing. Only about one-third of brain tumors are cancerous. But whether they’re cancerous or not, brain tumors can impact brain function and your health if they grow large enough to press on surrounding nerves, blood vessels and tissue.
Only about 5% to 10% of people with brain tumors have a family history of a brain tumor. A primary brain or spinal cord tumor is a tumor that starts in the brain or spinal cord. In 2023, an estimated 24,810 adults (14,280 men and 10,530 women) in the United States will be diagnosed with primary cancerous tumors of the brain and spinal cord. A person’s likelihood of developing this type of tumor in their lifetime is less than 1%. Brain tumors account for 85% to 90% of all primary central nervous system (CNS) tumors. Worldwide, an estimated 308,102 people were diagnosed with a primary brain or spinal cord tumor in 2020. It is estimated that 5,230 children under the age of 20 will also be diagnosed with a CNS tumor in the United States in 2023. The rest of this guide deals with primary brain tumors in adults. Brain and other nervous system cancer is the 10th leading cause of death for men and women. It is estimated that 18,990 deaths (11,020 men and 7,970 women) from primary cancerous brain and CNS tumors will occur in the United States in 2023. In 2020, an estimated 251,329 people worldwide died from primary cancerous brain and CNS tumors.
The 5-year relative survival rate for a cancerous brain or CNS tumor is almost 36%. The 10-year survival rate is over 30%. The 5-year relative survival rate for people younger than age 15 is about 75%. For people age 15 to 39, the 5-year relative survival rate nears 72%. The 5-year relative survival rate for people age 40 and older is 21%.
- Headaches that may be more severe in the morning or wake you up at night.
- Seizures.
- Difficulty thinking, speaking or understanding language.
- Personality changes.
- Weakness or paralysis in one part or one side of your body.
- Balance problems or dizziness.
- Vision issues.
- Hearing issues.
- Facial numbness or tingling.
- Nausea or vomiting.
- Confusion and disorientation.
https://www.kaggle.com/datasets/masoudnickparvar/brain-tumor-mri-dataset
- 80% Training data
- 10% Validation data
- 10% Test data
- Tensorflow
- Keras
- pandas
- numpy
- matplotlib
- seaborn
Jupyter notebook
- Go to https://agam1092005.github.io/Brain_Tumor_Classifier/
- Check if server is on
- Upload CT-Scan/MRI (you can get sample images from testing folder)
- Click predict
- Model Accuracy - 96.18611931800842 %
- Model Loss - 23.621788620948792 %