/Brain-Tumour-Detection---ML-

uses machine learning algorithms to detect brain tumors using MRI images. The project compares the performance of SVM and LR and finds that LR outperforms SVM in terms of accuracy, precision, recall, and F1-score. The project can be used for further research in medical image analysis using machine learning.

Primary LanguageJupyter Notebook

Cancer-Detection-using-ML

This is an python based ML project which predicts the presence of Brain tumour in human brains. image

In this project we have used 1. numpy 2. pandas 3. matplotlib 4. sklearn

We could have also used standard scaler and min max scaler

But we used Feature scaler because the RGB value of an image ranges from 0-255

So we devided the samples by 255

That is why we are getting all outcomes in 0 or 1

Principle Component Analisys (Data reduction algo.)

reduce number of atributes without significant loss in info.

Training Model

high C means "Trust this training data a lot", while a low value says

#"This data may not be fully representative of the real world data, so if it's telling #you to make a parameter really large, don't listen to it"

                                                            Training Score: 0.9938587512794268
                                                            Testing Score: 0.963265306122449