SlideShare a Scribd company logo
1 of 45
BRAIN STROKE PREDICTION
USING MACHINE LEARNING
TECHNIQUES
BY
NAME : S.RAJAYOGHA
BRANCH : M.SC DATA SCIENCE
REVIEW : FINAL REVIEW
GUIDE NAME : DR.K.SATHESH KUMAR
REVIEW DATE : 08/05/2023
1
• ABSTRACT
• INTRODUCTION
• SYMPTOMS
• EXISTING SYSTEM
• PROPOSED SYSTEM
• DATASET MODULES
• ARCHITECTURE
CONTENT(contd.,)
2
CONTENT(contd.,)
• DIAGRAMS
• ALGORITHMS
• EXPECTED OUTCOMES
• RESULT
• CONCLUSION
• REFERENCE
• PUBLICATION
3
ABSTRACT
• Stroke is a destructive illness that typically influences individuals over
the age of 65 years age.
• Prediction of stroke is a time consuming and tedious for doctors.
• Five different algorithms are used and a comparison is made for
better accuracy.
• Aim is to create an application with a user friendly interface which is
easy to navigate and enter inputs.
4
INTRODUCTION
• A stroke is a life-threatening condition that happens when part of your
brain doesn't have enough blood flow.
• An ischemic stroke is caused by a blockage cutting off the blood
supply to the brain. This is the most common type of stroke.
• A hemorrhagic stroke is caused by bleeding in or around the brain.
• A transient ischemic attack or TIA is also known as a mini-stroke.
5
INTRODUCTION(contd.,)
• Hemorrhagic strokes are particularly dangerous because they cause
severe symptoms that get worse quickly.
• The Stages of stroke are Stage 1: Flaccidity(soft). Stage 2: Spasticity
(clumsy neural problem). Stage 3: Increased Spasticity. Stage 4:
Decreased Spasticity
• Foods high in potassium such as sweet and white potatoes, bananas,
tomatoes, prunes, melon, and soybeans, can help you maintain healthy
blood pressure — the leading risk factor of stroke.
6
SYMPTOMS
7
EXISTING SYSTEM
• In recent times, the stress levels in individuals are at an all time high.
This increases the chances of strokes in individuals.
• About 3.0 million deaths resulted from ischemic stroke while 3.3
million deaths resulted from hemorrhagic stroke. Hence, correct detection
and finding presence of stroke inside a human becomes essential.
• In existing system, there are various medical instruments available in the
market for predicting brain stroke but they are very much expensive and
they are not efficient enough to be able to calculate the chance of having
a brain stroke.
8
DISADVANTAGE OF EXISTING SYSTEM
• Takes a lot of time to find the disease.
• Inaccuracy and inefficiency of results.
• This can leads to incomplete datacollection.
• It was not safe for private data collections in hospital.
• They may not be universally accessible or adopted by all hospital
providers or institution
9
PROPOSED SYSTEM
• Artificial Intelligence that contributes various algorithms and
many more which is effective in making decisions and predictions
from the large quantity of data produced by the healthcare industry.
• Based on the proposed problem, ML provides different
classification algorithms to divine the probability of a patient having
a Brain Stroke.
• In proposed system, there are various medical instruments
available in the market for predicting brain stroke but they are very
flexible cost and they are efficient enough to be able to calculate the
chance of predict a brain stroke. 10
ADVANTAGE OF PROPOSED SYSTEM
• It detects the brain stroke disease less time.
• More accuracy and efficiency.
• It was very safe for private data collections in hospital.
• They can universally accessible or adopted by all hospital providers
or institution
11
Software configure
12
Frontend and backend
I’m Using Python as the front and MySQL as the backend in a
healthcare data stroke, project can provide several benefits:
• 1. Python is a popular programming language for data analysis and
visualization, which can be useful in analyzing stroke data.
• 2. MySQL can handle large amounts of data and can be easily scaled to
meet the needs of the project.
• 3. The combination of Python and MySQL can provide seamless
integration between the front end and back end, making it easier to
manage and analyze data.
13
Frontend and backend
• 4. Python has a wide range of libraries and frameworks that can be used
to build interactive and user-friendly interfaces for the project.
• 5. MySQL is known for its reliability and stability, which is crucial in a
healthcare project where the accuracy and consistency of data are critical.
• 6.Overall, using Python for the front end and MySQL for the back end
in a healthcare data stroke project can provide a powerful and efficient
solution for managing and analyzing healthcare data.
14
MODULES
From the Kaggle website, https://www.kaggle.com/healthcare-dataset-
stroke-data.
15
MODULES
Balancing Dataset:
• There were 5110 rows and 12 columns in this dataset.
• The value of the output column stroke is either 1 or 0. The number
0 indicates that no stroke risk was identified, while the value 1
indicates that a stroke risk was detected.
• The probability of 0 in the output column (stroke) exceeds the
possibility of 1 in the same column in this dataset. In this Dataset 0
and 1 values are given below. values Stroke/not a stroke
O values Not a stroke
1 values stroke
16
MODULES
Preprocessing
 Before building a model, data preprocessing is required to remove unwanted
noise and outliers from the dataset that could lead the model to depart from its
intended training.
 This stage addresses everything that prevents the model from functioning more
efficiently. Following the collection of the relevant dataset, the data must be
cleaned and prepared for model development. As stated before, the dataset used has
twelve characteristics.
 To improve accuracy, data preprocessing is used to balance the data.It contains
the total number of stroke and non stroke records in the output column before
preprocessing.
17
MODULES
• Correlation Matrix:
In the above heatmap, For Data Analyzing ,we can see that
there is no multicollinearity present and ‘Age’ and ‘Glucose
Level’ are some of the highest correlated features with ‘Stroke’.
• Best Features using Chi-Square Test:
In the above table, we can see that Age, Average Glucose Level
and Hypertension are the top 3 features having maximum impact
on output ‘Stroke’. Chi Square Test is used to find out this result.
18
Correlation matrix
FIG1 : CORRELATION MATRIX
19
Correlation matrix
FIG2:DATA VISUALIZATION OF PARAMETER IN
CORELATION
20
MODULES
Evaluation Matrix
 The confusion matrix is a tool for evaluating the performance of
machine learning classification algorithms. The confusion matrix has been
used to test the efficiency of all models created. The confusion matrix
illustrates how often our models forecast correctly and how often they
estimate incorrectly.
 False positives and false negatives have been allocated to badly
predicted values, whereas true positives and true negatives were assigned
to properly anticipated values. The model’s accuracy, precision-recall trade-
off, and AUC were utilized to assess its performance after grouping all
predicted values in the matrix.
21
ARCHITECTURAL DESIGN FOR PROPOSED
SYSTEM START
COLLECT
DATASET
DATA CLEANING
SPLITING DATA
PERFORM DATA
BALANCING
DATASET
TESTIN DATA(20%)
TRAINING
DATA(80%)
CLASSIFICATION CLAS S IFIER
TRAINING
(LOGISTICREG,RANDOM
FOREST,DECISSION
TREE,XGBOOST
STROKE:
YES
STROKE:
NO
FIG 3:ARCHITECTURE
22
ER DIAGRAM (User)
FIG 4: ER DIAGRAM FOR USER
23
ER DIAGRAM (Admin)
FIG 5: ER DIAGRAM FOR ADMIN
24
DATA FLOW DIAGRAM
FIG 6: DATA FLOW DIAGRAM
25
USE CASE DIAGRAM (User)
FIG 7: USE CASE DIAGRAM FOR USER
26
USE CASE DIAGRAM (Admin)
FIG 8:USE CASE DIAGRAM FOR ADMIN
27
ALGORITHM/TECHNIQUE USED WITH
COMPLEXITY
Extreme Gradient Boosting Classifier:
 Xgboost is a decision-tree-based ensemble Machine Learning
algorithm that uses a gradient boosting framework.
 In prediction problems involving unstructured data (images, text,
etc.) artificial neural networks tend to outperform all other algorithms or
frameworks. However, when it comes to small to-medium
structured/tabular data, decision tree based b algorithms are considered
best-in-class right now.
28
ALGORITHM/TECHNIQUE USED WITH
COMPLEXITY
Random Forest:
 Random Forest is a mainstream ML calculation that has a place with the
administered learning procedure.
 It tends to be utilized for both Arrangement and Relapse issues in ML.
 It depends on the idea of ensemble learning, which is a cycle of
joining different classifiers to take care of a complex problem
29
ALGORITHM/TECHNIQUE USED WITH
COMPLEXITY
Logistic Regression:
 Logistic regression is a statistical model that in its basic form uses a
logistic function to model a binary dependent variable, although many more
complex extensions exist.
 In regression analysis, logistic regression (or logit regression) is estimating
the parameters of a logistic model (a form of binary regression).
 linear combination of one or more independent variables ("predictors"); the
independent variables can each be a binary variable (two classes, coded by an
indicator variable) or a continuous variable (any real value).
30
EXPECTED OUTCOMES
Home Login
Above screenshot ,shows Home login .
31
EXPECTED OUTCOMES
Patient Login
Above screenshot ,shows patient login .
32
EXPECTED OUTCOMES
Stroke prediction by giving patient’s data
Above screenshot ,shows prediction form.
33
EXPECTED OUTCOMES
Display whether stroke or not
Above screenshot ,shows prediction result
34
EXPECTED OUTCOMES
Doctor login
Above screenshot ,shows prediction result
35
EXPECTED OUTCOMES
Logistic Regression
Above screenshot ,shows logistic regression.
36
EXPECTED OUTCOMES
Decision Tree
Above screenshot ,shows Decission Tree.
37
EXPECTED OUTCOMES
Random Forest
Above screenshot ,shows Random forest
38
EXPECTED OUTCOMES
XgBoost
Above screenshot ,shows Xgboost.
39
EXPECTED OUTCOMES
Algorithm Comparison
Above screenshot ,shows Algorithm Comparisons .
40
RESULT
algorithm results
.
Algorith
m
F1 score Precision Recall Accuracy
Logistic
Regression
0.81 0.80 0.81 0.81
Decision tree 0.92 0.91 0.94 0.92
Random
forest
0.95 0.93 0.96 0.95
Xgboost 0.96 0.96 0.96 0.96
41
Therefore, in Result this project helps us to predict the patients who are diagnosed with brain
stroke by cleaning the dataset and applying Model to get an accuracy of an average of
96.68%.here highest accuracy is Xgboost
CONCLUSION
 The importance of knowing and understanding the risks of brain stroke is
very much in these trying times.
 The model predicts the probability of brain stroke on the basis of very
trivial day-to-day and known to all parameters.
 This makes this project highly relevant and of need to society. The objective
of implementing the project on a web platform was to reach as many individuals
as possible.
 The early warning can save someone’s life who might have a probability of a
stroke.
42
REFERENCES
• [1] Tasfia Ismail Shoily, Tajul Islam, Sharmin Akter Tanna
"Detection of stroke using machine learning algorithms", 10th International
Conference on Computing, Communication and Networking Technologies
(ICCCNT), IEEE, July 2019.
• [2] JoonNyung Heo , Jihoon G. Yoon , Hyungjong Park , Young
Dae Kim , Hyo Suk Nam and Ji Hoe Heo. "Stroke prediction in acute
stroke", Stroke. 2019;50:1263-1265, AHA Journal, 20 Mar 2019.
• [3] Jaehak Yu,Damee Kim,Hongkyu Park,,Sun-Jin Kim,Sungkyu
Yu,Sejin Park and Seunghee “Semantic analysis of NIH stroke” , 2019
International Conference on Platform Technology and Service (PlatCon),
IEEE, 30 Jan 2019. 43
PUBLICATION
• Rajayogha, S.,& Bruxella, D.J.M.D. (2023, March31).Early prediction
of Brain Stroke using Logistic regression. International journal for
Research Applied science and Engineering Technology,11(3), 1355-
1361.
https://doi.org/10.22214/ijraset.2023.49651
44
THANK YOU
45

More Related Content

What's hot

Introduction of Data Science
Introduction of Data ScienceIntroduction of Data Science
Introduction of Data ScienceJason Geng
 
The 7 steps of Machine Learning
The 7 steps of Machine LearningThe 7 steps of Machine Learning
The 7 steps of Machine LearningWaziri Shebogholo
 
Diabetes prediction using machine learning
Diabetes prediction using machine learningDiabetes prediction using machine learning
Diabetes prediction using machine learningdataalcott
 
DIABETES PREDICTION SYSTEM .pptx
DIABETES PREDICTION SYSTEM .pptxDIABETES PREDICTION SYSTEM .pptx
DIABETES PREDICTION SYSTEM .pptxHome
 
Automated Glaucoma Detection
Automated Glaucoma DetectionAutomated Glaucoma Detection
Automated Glaucoma DetectionLee123Tai
 
Introduction of data science
Introduction of data scienceIntroduction of data science
Introduction of data scienceTanujaSomvanshi1
 
The Importance of Data Visualization
The Importance of Data VisualizationThe Importance of Data Visualization
The Importance of Data VisualizationCenterline Digital
 
Data Visualization1.pptx
Data Visualization1.pptxData Visualization1.pptx
Data Visualization1.pptxqwtadhsaber
 
DATA VISUALIZATION.pptx
DATA VISUALIZATION.pptxDATA VISUALIZATION.pptx
DATA VISUALIZATION.pptxPraneethBhai1
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine LearningKnoldus Inc.
 
How AI Enhances & Accelerates Diabetic Retinopathy Detection
How AI Enhances & Accelerates Diabetic Retinopathy DetectionHow AI Enhances & Accelerates Diabetic Retinopathy Detection
How AI Enhances & Accelerates Diabetic Retinopathy DetectionCognizant
 
Data science in health care
Data science in health careData science in health care
Data science in health careChetan Khanzode
 
Tools and techniques for data science
Tools and techniques for data scienceTools and techniques for data science
Tools and techniques for data scienceAjay Ohri
 
Diabetic Retinopathy.pptx
Diabetic Retinopathy.pptxDiabetic Retinopathy.pptx
Diabetic Retinopathy.pptxNGOKUL3
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
INTRODUCTION TO MACHINE LEARNING.pptx
INTRODUCTION TO MACHINE LEARNING.pptxINTRODUCTION TO MACHINE LEARNING.pptx
INTRODUCTION TO MACHINE LEARNING.pptxAbhigyanMishra17
 
Decision tree in artificial intelligence
Decision tree in artificial intelligenceDecision tree in artificial intelligence
Decision tree in artificial intelligenceMdAlAmin187
 
Data mining
Data mining Data mining
Data mining AthiraR23
 

What's hot (20)

Introduction of Data Science
Introduction of Data ScienceIntroduction of Data Science
Introduction of Data Science
 
The 7 steps of Machine Learning
The 7 steps of Machine LearningThe 7 steps of Machine Learning
The 7 steps of Machine Learning
 
Diabetes prediction using machine learning
Diabetes prediction using machine learningDiabetes prediction using machine learning
Diabetes prediction using machine learning
 
DIABETES PREDICTION SYSTEM .pptx
DIABETES PREDICTION SYSTEM .pptxDIABETES PREDICTION SYSTEM .pptx
DIABETES PREDICTION SYSTEM .pptx
 
Automated Glaucoma Detection
Automated Glaucoma DetectionAutomated Glaucoma Detection
Automated Glaucoma Detection
 
Introduction of data science
Introduction of data scienceIntroduction of data science
Introduction of data science
 
The Importance of Data Visualization
The Importance of Data VisualizationThe Importance of Data Visualization
The Importance of Data Visualization
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
 
Data Visualization1.pptx
Data Visualization1.pptxData Visualization1.pptx
Data Visualization1.pptx
 
DATA VISUALIZATION.pptx
DATA VISUALIZATION.pptxDATA VISUALIZATION.pptx
DATA VISUALIZATION.pptx
 
Introduction To Machine Learning
Introduction To Machine LearningIntroduction To Machine Learning
Introduction To Machine Learning
 
How AI Enhances & Accelerates Diabetic Retinopathy Detection
How AI Enhances & Accelerates Diabetic Retinopathy DetectionHow AI Enhances & Accelerates Diabetic Retinopathy Detection
How AI Enhances & Accelerates Diabetic Retinopathy Detection
 
Data science in health care
Data science in health careData science in health care
Data science in health care
 
Introduction to data science
Introduction to data scienceIntroduction to data science
Introduction to data science
 
Tools and techniques for data science
Tools and techniques for data scienceTools and techniques for data science
Tools and techniques for data science
 
Diabetic Retinopathy.pptx
Diabetic Retinopathy.pptxDiabetic Retinopathy.pptx
Diabetic Retinopathy.pptx
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
INTRODUCTION TO MACHINE LEARNING.pptx
INTRODUCTION TO MACHINE LEARNING.pptxINTRODUCTION TO MACHINE LEARNING.pptx
INTRODUCTION TO MACHINE LEARNING.pptx
 
Decision tree in artificial intelligence
Decision tree in artificial intelligenceDecision tree in artificial intelligence
Decision tree in artificial intelligence
 
Data mining
Data mining Data mining
Data mining
 

Similar to final.pptx

DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUE
DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUEDESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUE
DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUEIRJET Journal
 
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSION
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSIONPREDICTION OF HEART DISEASE USING LOGISTIC REGRESSION
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSIONIRJET Journal
 
An efficient feature selection algorithm for health care data analysis
An efficient feature selection algorithm for health care data analysisAn efficient feature selection algorithm for health care data analysis
An efficient feature selection algorithm for health care data analysisjournalBEEI
 
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbh
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbhfirst review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbh
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbhmithun302002
 
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET Journal
 
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTION
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTIONMULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTION
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTIONIJDKP
 
HealthOrzo – Your Health Matters
HealthOrzo – Your Health MattersHealthOrzo – Your Health Matters
HealthOrzo – Your Health MattersIRJET Journal
 
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...IRJET Journal
 
A novel salp swarm clustering algorithm for prediction of the heart diseases
A novel salp swarm clustering algorithm for prediction of the heart diseasesA novel salp swarm clustering algorithm for prediction of the heart diseases
A novel salp swarm clustering algorithm for prediction of the heart diseasesnooriasukmaningtyas
 
heart final last sem.pptx
heart final last sem.pptxheart final last sem.pptx
heart final last sem.pptxrakshashadu
 
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNING
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNINGA SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNING
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNINGIRJET Journal
 
IRJET- A Framework for Disease Risk Prediction
IRJET- A Framework for Disease Risk PredictionIRJET- A Framework for Disease Risk Prediction
IRJET- A Framework for Disease Risk PredictionIRJET Journal
 
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...Editor IJCATR
 
Heart Disease Prediction Using Random Forest Algorithm
Heart Disease Prediction Using Random Forest AlgorithmHeart Disease Prediction Using Random Forest Algorithm
Heart Disease Prediction Using Random Forest AlgorithmIRJET Journal
 
Efficiency of Prediction Algorithms for Mining Biological Databases
Efficiency of Prediction Algorithms for Mining Biological  DatabasesEfficiency of Prediction Algorithms for Mining Biological  Databases
Efficiency of Prediction Algorithms for Mining Biological DatabasesIOSR Journals
 
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...cscpconf
 
heart disease predction using machiine learning
heart disease predction using machiine learningheart disease predction using machiine learning
heart disease predction using machiine learningPODILAPRAVALLIKA0576
 
IRJET- Diabetes Prediction using Machine Learning
IRJET- Diabetes Prediction using Machine LearningIRJET- Diabetes Prediction using Machine Learning
IRJET- Diabetes Prediction using Machine LearningIRJET Journal
 
prediction using data mining.pdf
prediction using data mining.pdfprediction using data mining.pdf
prediction using data mining.pdfNavAhmed3
 
IRJET- Heart Disease Prediction and Recommendation
IRJET-  	  Heart Disease Prediction and RecommendationIRJET-  	  Heart Disease Prediction and Recommendation
IRJET- Heart Disease Prediction and RecommendationIRJET Journal
 

Similar to final.pptx (20)

DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUE
DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUEDESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUE
DESIGN AND IMPLEMENTATION OF CARDIAC DISEASE USING NAIVE BAYES TECHNIQUE
 
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSION
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSIONPREDICTION OF HEART DISEASE USING LOGISTIC REGRESSION
PREDICTION OF HEART DISEASE USING LOGISTIC REGRESSION
 
An efficient feature selection algorithm for health care data analysis
An efficient feature selection algorithm for health care data analysisAn efficient feature selection algorithm for health care data analysis
An efficient feature selection algorithm for health care data analysis
 
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbh
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbhfirst review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbh
first review.pptxgghggggvvvvbbvvvvvhhjjjbbvvvvbbbbbhhhhhhhhhbbh
 
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
 
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTION
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTIONMULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTION
MULTI MODEL DATA MINING APPROACH FOR HEART FAILURE PREDICTION
 
HealthOrzo – Your Health Matters
HealthOrzo – Your Health MattersHealthOrzo – Your Health Matters
HealthOrzo – Your Health Matters
 
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...
E-Healthcare monitoring System for diagnosis of Heart Disease using Machine L...
 
A novel salp swarm clustering algorithm for prediction of the heart diseases
A novel salp swarm clustering algorithm for prediction of the heart diseasesA novel salp swarm clustering algorithm for prediction of the heart diseases
A novel salp swarm clustering algorithm for prediction of the heart diseases
 
heart final last sem.pptx
heart final last sem.pptxheart final last sem.pptx
heart final last sem.pptx
 
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNING
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNINGA SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNING
A SURVEY ON BLOOD DISEASE DETECTION USING MACHINE LEARNING
 
IRJET- A Framework for Disease Risk Prediction
IRJET- A Framework for Disease Risk PredictionIRJET- A Framework for Disease Risk Prediction
IRJET- A Framework for Disease Risk Prediction
 
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...
A Comparative Study of Various Data Mining Techniques: Statistics, Decision T...
 
Heart Disease Prediction Using Random Forest Algorithm
Heart Disease Prediction Using Random Forest AlgorithmHeart Disease Prediction Using Random Forest Algorithm
Heart Disease Prediction Using Random Forest Algorithm
 
Efficiency of Prediction Algorithms for Mining Biological Databases
Efficiency of Prediction Algorithms for Mining Biological  DatabasesEfficiency of Prediction Algorithms for Mining Biological  Databases
Efficiency of Prediction Algorithms for Mining Biological Databases
 
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...
PREDICTION OF MALIGNANCY IN SUSPECTED THYROID TUMOUR PATIENTS BY THREE DIFFER...
 
heart disease predction using machiine learning
heart disease predction using machiine learningheart disease predction using machiine learning
heart disease predction using machiine learning
 
IRJET- Diabetes Prediction using Machine Learning
IRJET- Diabetes Prediction using Machine LearningIRJET- Diabetes Prediction using Machine Learning
IRJET- Diabetes Prediction using Machine Learning
 
prediction using data mining.pdf
prediction using data mining.pdfprediction using data mining.pdf
prediction using data mining.pdf
 
IRJET- Heart Disease Prediction and Recommendation
IRJET-  	  Heart Disease Prediction and RecommendationIRJET-  	  Heart Disease Prediction and Recommendation
IRJET- Heart Disease Prediction and Recommendation
 

Recently uploaded

Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original PhotosCall Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photosnarwatsonia7
 
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service Available
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls ITPL Just Call 7001305949 Top Class Call Girl Service Available
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Modelssonalikaur4
 
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment BookingCall Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Bookingnarwatsonia7
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...narwatsonia7
 
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipur
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service JaipurHigh Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipur
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipurparulsinha
 
Call Girl Indore Vrinda 9907093804 Independent Escort Service Indore
Call Girl Indore Vrinda 9907093804 Independent Escort Service IndoreCall Girl Indore Vrinda 9907093804 Independent Escort Service Indore
Call Girl Indore Vrinda 9907093804 Independent Escort Service IndoreRiya Pathan
 
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort ServiceCall Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Serviceparulsinha
 
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service CoimbatoreCall Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatorenarwatsonia7
 
Asthma Review - GINA guidelines summary 2024
Asthma Review - GINA guidelines summary 2024Asthma Review - GINA guidelines summary 2024
Asthma Review - GINA guidelines summary 2024Gabriel Guevara MD
 
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Me
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near MeHi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Me
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Menarwatsonia7
 
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiCall Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiNehru place Escorts
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...Miss joya
 
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls ServiceCall Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Servicesonalikaur4
 
Aspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliAspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliRewAs ALI
 
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...narwatsonia7
 

Recently uploaded (20)

Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
 
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
Russian Call Girls in Delhi Tanvi ➡️ 9711199012 💋📞 Independent Escort Service...
 
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original PhotosCall Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
 
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service Available
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls ITPL Just Call 7001305949 Top Class Call Girl Service Available
Call Girls ITPL Just Call 7001305949 Top Class Call Girl Service Available
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
 
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment BookingCall Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
Call Girl Koramangala | 7001305949 At Low Cost Cash Payment Booking
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
 
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipur
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service JaipurHigh Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipur
High Profile Call Girls Jaipur Vani 8445551418 Independent Escort Service Jaipur
 
Call Girl Indore Vrinda 9907093804 Independent Escort Service Indore
Call Girl Indore Vrinda 9907093804 Independent Escort Service IndoreCall Girl Indore Vrinda 9907093804 Independent Escort Service Indore
Call Girl Indore Vrinda 9907093804 Independent Escort Service Indore
 
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Jp Nagar Just Call 7001305949 Top Class Call Girl Service Available
 
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort ServiceCall Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
 
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service CoimbatoreCall Girl Coimbatore Prisha☎️  8250192130 Independent Escort Service Coimbatore
Call Girl Coimbatore Prisha☎️ 8250192130 Independent Escort Service Coimbatore
 
Asthma Review - GINA guidelines summary 2024
Asthma Review - GINA guidelines summary 2024Asthma Review - GINA guidelines summary 2024
Asthma Review - GINA guidelines summary 2024
 
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Me
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near MeHi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Me
Hi,Fi Call Girl In Mysore Road - 7001305949 | 24x7 Service Available Near Me
 
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiCall Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
 
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls ServiceCall Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
 
Aspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas AliAspirin presentation slides by Dr. Rewas Ali
Aspirin presentation slides by Dr. Rewas Ali
 
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
Call Girls Service in Bommanahalli - 7001305949 with real photos and phone nu...
 

final.pptx

  • 1. BRAIN STROKE PREDICTION USING MACHINE LEARNING TECHNIQUES BY NAME : S.RAJAYOGHA BRANCH : M.SC DATA SCIENCE REVIEW : FINAL REVIEW GUIDE NAME : DR.K.SATHESH KUMAR REVIEW DATE : 08/05/2023 1
  • 2. • ABSTRACT • INTRODUCTION • SYMPTOMS • EXISTING SYSTEM • PROPOSED SYSTEM • DATASET MODULES • ARCHITECTURE CONTENT(contd.,) 2
  • 3. CONTENT(contd.,) • DIAGRAMS • ALGORITHMS • EXPECTED OUTCOMES • RESULT • CONCLUSION • REFERENCE • PUBLICATION 3
  • 4. ABSTRACT • Stroke is a destructive illness that typically influences individuals over the age of 65 years age. • Prediction of stroke is a time consuming and tedious for doctors. • Five different algorithms are used and a comparison is made for better accuracy. • Aim is to create an application with a user friendly interface which is easy to navigate and enter inputs. 4
  • 5. INTRODUCTION • A stroke is a life-threatening condition that happens when part of your brain doesn't have enough blood flow. • An ischemic stroke is caused by a blockage cutting off the blood supply to the brain. This is the most common type of stroke. • A hemorrhagic stroke is caused by bleeding in or around the brain. • A transient ischemic attack or TIA is also known as a mini-stroke. 5
  • 6. INTRODUCTION(contd.,) • Hemorrhagic strokes are particularly dangerous because they cause severe symptoms that get worse quickly. • The Stages of stroke are Stage 1: Flaccidity(soft). Stage 2: Spasticity (clumsy neural problem). Stage 3: Increased Spasticity. Stage 4: Decreased Spasticity • Foods high in potassium such as sweet and white potatoes, bananas, tomatoes, prunes, melon, and soybeans, can help you maintain healthy blood pressure — the leading risk factor of stroke. 6
  • 8. EXISTING SYSTEM • In recent times, the stress levels in individuals are at an all time high. This increases the chances of strokes in individuals. • About 3.0 million deaths resulted from ischemic stroke while 3.3 million deaths resulted from hemorrhagic stroke. Hence, correct detection and finding presence of stroke inside a human becomes essential. • In existing system, there are various medical instruments available in the market for predicting brain stroke but they are very much expensive and they are not efficient enough to be able to calculate the chance of having a brain stroke. 8
  • 9. DISADVANTAGE OF EXISTING SYSTEM • Takes a lot of time to find the disease. • Inaccuracy and inefficiency of results. • This can leads to incomplete datacollection. • It was not safe for private data collections in hospital. • They may not be universally accessible or adopted by all hospital providers or institution 9
  • 10. PROPOSED SYSTEM • Artificial Intelligence that contributes various algorithms and many more which is effective in making decisions and predictions from the large quantity of data produced by the healthcare industry. • Based on the proposed problem, ML provides different classification algorithms to divine the probability of a patient having a Brain Stroke. • In proposed system, there are various medical instruments available in the market for predicting brain stroke but they are very flexible cost and they are efficient enough to be able to calculate the chance of predict a brain stroke. 10
  • 11. ADVANTAGE OF PROPOSED SYSTEM • It detects the brain stroke disease less time. • More accuracy and efficiency. • It was very safe for private data collections in hospital. • They can universally accessible or adopted by all hospital providers or institution 11
  • 13. Frontend and backend I’m Using Python as the front and MySQL as the backend in a healthcare data stroke, project can provide several benefits: • 1. Python is a popular programming language for data analysis and visualization, which can be useful in analyzing stroke data. • 2. MySQL can handle large amounts of data and can be easily scaled to meet the needs of the project. • 3. The combination of Python and MySQL can provide seamless integration between the front end and back end, making it easier to manage and analyze data. 13
  • 14. Frontend and backend • 4. Python has a wide range of libraries and frameworks that can be used to build interactive and user-friendly interfaces for the project. • 5. MySQL is known for its reliability and stability, which is crucial in a healthcare project where the accuracy and consistency of data are critical. • 6.Overall, using Python for the front end and MySQL for the back end in a healthcare data stroke project can provide a powerful and efficient solution for managing and analyzing healthcare data. 14
  • 15. MODULES From the Kaggle website, https://www.kaggle.com/healthcare-dataset- stroke-data. 15
  • 16. MODULES Balancing Dataset: • There were 5110 rows and 12 columns in this dataset. • The value of the output column stroke is either 1 or 0. The number 0 indicates that no stroke risk was identified, while the value 1 indicates that a stroke risk was detected. • The probability of 0 in the output column (stroke) exceeds the possibility of 1 in the same column in this dataset. In this Dataset 0 and 1 values are given below. values Stroke/not a stroke O values Not a stroke 1 values stroke 16
  • 17. MODULES Preprocessing  Before building a model, data preprocessing is required to remove unwanted noise and outliers from the dataset that could lead the model to depart from its intended training.  This stage addresses everything that prevents the model from functioning more efficiently. Following the collection of the relevant dataset, the data must be cleaned and prepared for model development. As stated before, the dataset used has twelve characteristics.  To improve accuracy, data preprocessing is used to balance the data.It contains the total number of stroke and non stroke records in the output column before preprocessing. 17
  • 18. MODULES • Correlation Matrix: In the above heatmap, For Data Analyzing ,we can see that there is no multicollinearity present and ‘Age’ and ‘Glucose Level’ are some of the highest correlated features with ‘Stroke’. • Best Features using Chi-Square Test: In the above table, we can see that Age, Average Glucose Level and Hypertension are the top 3 features having maximum impact on output ‘Stroke’. Chi Square Test is used to find out this result. 18
  • 19. Correlation matrix FIG1 : CORRELATION MATRIX 19
  • 20. Correlation matrix FIG2:DATA VISUALIZATION OF PARAMETER IN CORELATION 20
  • 21. MODULES Evaluation Matrix  The confusion matrix is a tool for evaluating the performance of machine learning classification algorithms. The confusion matrix has been used to test the efficiency of all models created. The confusion matrix illustrates how often our models forecast correctly and how often they estimate incorrectly.  False positives and false negatives have been allocated to badly predicted values, whereas true positives and true negatives were assigned to properly anticipated values. The model’s accuracy, precision-recall trade- off, and AUC were utilized to assess its performance after grouping all predicted values in the matrix. 21
  • 22. ARCHITECTURAL DESIGN FOR PROPOSED SYSTEM START COLLECT DATASET DATA CLEANING SPLITING DATA PERFORM DATA BALANCING DATASET TESTIN DATA(20%) TRAINING DATA(80%) CLASSIFICATION CLAS S IFIER TRAINING (LOGISTICREG,RANDOM FOREST,DECISSION TREE,XGBOOST STROKE: YES STROKE: NO FIG 3:ARCHITECTURE 22
  • 23. ER DIAGRAM (User) FIG 4: ER DIAGRAM FOR USER 23
  • 24. ER DIAGRAM (Admin) FIG 5: ER DIAGRAM FOR ADMIN 24
  • 25. DATA FLOW DIAGRAM FIG 6: DATA FLOW DIAGRAM 25
  • 26. USE CASE DIAGRAM (User) FIG 7: USE CASE DIAGRAM FOR USER 26
  • 27. USE CASE DIAGRAM (Admin) FIG 8:USE CASE DIAGRAM FOR ADMIN 27
  • 28. ALGORITHM/TECHNIQUE USED WITH COMPLEXITY Extreme Gradient Boosting Classifier:  Xgboost is a decision-tree-based ensemble Machine Learning algorithm that uses a gradient boosting framework.  In prediction problems involving unstructured data (images, text, etc.) artificial neural networks tend to outperform all other algorithms or frameworks. However, when it comes to small to-medium structured/tabular data, decision tree based b algorithms are considered best-in-class right now. 28
  • 29. ALGORITHM/TECHNIQUE USED WITH COMPLEXITY Random Forest:  Random Forest is a mainstream ML calculation that has a place with the administered learning procedure.  It tends to be utilized for both Arrangement and Relapse issues in ML.  It depends on the idea of ensemble learning, which is a cycle of joining different classifiers to take care of a complex problem 29
  • 30. ALGORITHM/TECHNIQUE USED WITH COMPLEXITY Logistic Regression:  Logistic regression is a statistical model that in its basic form uses a logistic function to model a binary dependent variable, although many more complex extensions exist.  In regression analysis, logistic regression (or logit regression) is estimating the parameters of a logistic model (a form of binary regression).  linear combination of one or more independent variables ("predictors"); the independent variables can each be a binary variable (two classes, coded by an indicator variable) or a continuous variable (any real value). 30
  • 31. EXPECTED OUTCOMES Home Login Above screenshot ,shows Home login . 31
  • 32. EXPECTED OUTCOMES Patient Login Above screenshot ,shows patient login . 32
  • 33. EXPECTED OUTCOMES Stroke prediction by giving patient’s data Above screenshot ,shows prediction form. 33
  • 34. EXPECTED OUTCOMES Display whether stroke or not Above screenshot ,shows prediction result 34
  • 35. EXPECTED OUTCOMES Doctor login Above screenshot ,shows prediction result 35
  • 36. EXPECTED OUTCOMES Logistic Regression Above screenshot ,shows logistic regression. 36
  • 37. EXPECTED OUTCOMES Decision Tree Above screenshot ,shows Decission Tree. 37
  • 38. EXPECTED OUTCOMES Random Forest Above screenshot ,shows Random forest 38
  • 40. EXPECTED OUTCOMES Algorithm Comparison Above screenshot ,shows Algorithm Comparisons . 40
  • 41. RESULT algorithm results . Algorith m F1 score Precision Recall Accuracy Logistic Regression 0.81 0.80 0.81 0.81 Decision tree 0.92 0.91 0.94 0.92 Random forest 0.95 0.93 0.96 0.95 Xgboost 0.96 0.96 0.96 0.96 41 Therefore, in Result this project helps us to predict the patients who are diagnosed with brain stroke by cleaning the dataset and applying Model to get an accuracy of an average of 96.68%.here highest accuracy is Xgboost
  • 42. CONCLUSION  The importance of knowing and understanding the risks of brain stroke is very much in these trying times.  The model predicts the probability of brain stroke on the basis of very trivial day-to-day and known to all parameters.  This makes this project highly relevant and of need to society. The objective of implementing the project on a web platform was to reach as many individuals as possible.  The early warning can save someone’s life who might have a probability of a stroke. 42
  • 43. REFERENCES • [1] Tasfia Ismail Shoily, Tajul Islam, Sharmin Akter Tanna "Detection of stroke using machine learning algorithms", 10th International Conference on Computing, Communication and Networking Technologies (ICCCNT), IEEE, July 2019. • [2] JoonNyung Heo , Jihoon G. Yoon , Hyungjong Park , Young Dae Kim , Hyo Suk Nam and Ji Hoe Heo. "Stroke prediction in acute stroke", Stroke. 2019;50:1263-1265, AHA Journal, 20 Mar 2019. • [3] Jaehak Yu,Damee Kim,Hongkyu Park,,Sun-Jin Kim,Sungkyu Yu,Sejin Park and Seunghee “Semantic analysis of NIH stroke” , 2019 International Conference on Platform Technology and Service (PlatCon), IEEE, 30 Jan 2019. 43
  • 44. PUBLICATION • Rajayogha, S.,& Bruxella, D.J.M.D. (2023, March31).Early prediction of Brain Stroke using Logistic regression. International journal for Research Applied science and Engineering Technology,11(3), 1355- 1361. https://doi.org/10.22214/ijraset.2023.49651 44