SlideShare a Scribd company logo
1 of 15
HEART
DISEASE PREDICTION USING
NAÏVE BAYES CLASSIFIER
PRESENTED BY:-
AMITESH GAURAV
ASHOK RAJAK
SHANU SONI
ABSTRACT
 The main objective of this research is to develop an Intelligent System using data mining
modeling technique, name, Naive Bayes.
 It is implemented as web based application in this user answers the predefined questions.
 It retrieves hidden data from stored database and compares the user values with trained
data set.
 It can answer complex queries for diagnosing heart disease and thus assist healthcare
practitioners to make intelligent clinical decisions which traditional decision support
systems cannot.
 By providing effective treatments, it also helps to reduce treatment costs.
INTRODUCTION
 The Bayes theorem was developed and named for THOMAS BAYES (1702-1761).
 “Naive” because it is based on independence assumption.
 Describes what makes something "evidence" and how much evidence it is.
 Bayesian Classifiers are statistical classifiers.
 They can predict the probability that a data item is a member of a particular class.
Original
Belief
New Belief
+ Observation=
EXAMPLE
• 1% of women at age forty who participate in routine screening have breast
cancer.
• 80% of women with breast cancer will get positive Mammographies.
• 9.6% of women without breast cancer will also get positive Mammographies.
A woman in this age group had a positive mammography in a routine
screening. What is the probability that she actually has breast cancer?
WITHOUT BAYES THEOREM
• Create a large sample size and use probabilities given in the problem to work out the
problem.
• Assume, for example, that 10,000 women participate in a routine screening for breast
cancer. 1%, or 100 women, have breast cancer. 80% of women with breast cancer, 80
women, will get positive mammographies. 9.6%,950 women, of the 9900 women who don’t
have breast cancer will also get positive mammographies.
• Create a table using the numbers obtained from the assumed sample size and determine
the answer.
WITHOUT BAYES THEOREM CONTD.
Out of the 1030 women who get positive mammographies only 80 actually have breast
cancer, therefore, the probability is 80/1030 or 7.767%
USING BAYES ALGORITHM
where A and Bare events…
•P(A) and P(B) are the probabilities of A and Bwithout regard to each other.
•P(A | B), a conditional probability, is the probability of observing event A given that Bis true.
•P(B | A), is the probability of observing event Bgiven that A is true.
USING BAYES ALGORITHM CONTD.
• 1% of women at age forty who participate in routine screening have breast cancer.
P(B)= 0.01
• 80% of women with breast cancer will get positive mammographies.
P(A│B) = 0.8
• 9.6% of women without breast cancer will also get positive mammographies.
P(A│B’) = 0.096
• A woman in this age group had a positive mammography in a routine screening. What is the
probability that she actually has breast cancer?
Find P(B│A) ?
USING BAYES ALGORITHM CONTD.
P(B│A) = P(A│B) P(B)
P(A)
P(B), P(A│B), and P(A│B’) are known. P(A) is needed to find P(B│A).
P(A) = P(A│B) P(B) + P(A│B’) P(B’)
P(A) = (0.8) ( 0.01) + (0.096) (0.99)
P(A) = 0.1030
P(B│A) = (0.8) (0.01)
(0.1030)
P(B│A) = 0.07767
WHY PREFER NAÏVE BAYES ALGORITHM ?
Naive Bayes or Bayes’ Rule is the basis for many machine learning and data mining methods. The rule
(algorithm) is used to create models with predictive capabilities. It provides new ways of exploring and
understanding data.
Why to prefer naive Bayes implementation :-
1) When the data is high.
2) When the attributes are independent of each other.
3) When we expect more efficient output, as compared to other methods output.
BAYES CLASSIFIER USES IN HEART DISEASE
PREDICTION
 Using medical profiles such as age, sex, blood pressure and blood sugar, chest pain, ECG graph etc.
 It can predict the likelihood of patients getting a heart disease.
 It will be implemented in PYTHON as an application which takes medical test’s parameter as an input.
 It can be used as a training tool to train nurses and medical students to diagnose patients with heart disease.
DATA SOURCE
 Predictable attribute:-
1.Diagnosis (value 0: <50% diameter narrowing (no heart disease); value 1: >50% diameter narrowing (has
heart disease))
 Input attributes:-
1. Age in Year
2. Sex (value 1: Male; value 0: Female)
3.Chest Pain Type (value 1:typical type1 angina, value 2:
typical type 2 angina, value 3:non-angina pain; value 4:
asymptomatic)
4.Fasting Blood Sugar (value 1: >120 mg/dl; value 0: <120
mg/dl)
5.Restecg – resting electrographic results (value 0:normal;
value 1: having ST-T wave abnormality; value 2: showing
probable or definite left ventricular hypertrophy)
6. Exang - exercise induced angina (value 1: yes; value 0: no)
7. Thalach – maximum heart rate achieved
8. Old peak – ST depression induced by exercise
9. Heart Disease Present - 0:No 1: Yes
IMPLEMENTATION OF BAYESIAN
CLASSIFICATION
 The Naïve Bayes Classifier technique is mainly applicable when the dimensionality of the inputs is high.
 Despite its simplicity, Naive Bayes can often outperform more sophisticated classification methods.
 Naïve Bayes model recognizes the characteristics of patients with heart disease.
 It shows the probability of each input attribute for the predictable state.
CONCLUSION
 Decision Support in Heart Disease Prediction System is developed using Naive Bayesian
Classification .
 The system extracts hidden knowledge from a historical heart disease database.
 This model could answer complex queries, each with its own strength with ease of model
interpretation and an easy access to detailed information and accuracy.
 The system is expandable in the sense that more number of records or attributes can be
incorporated and new significant rules can be generated using underlying Data Mining
technique.
 Presently the system has been using 9 attributes of medical diagnosis.
 It can also incorporate other data mining techniques and additional attributes for prediction.
PROJECT REFERENCES
 http://www.tutorialspoint.com/data_mining/dm_bayesian_classification.htm
 https://en.wikipedia.org/wiki/Statistical_classification
 jmlr.csail.mit.edu/proceedings/papers/v6/mani10a/mani10a.pdf
 http://www.cse.sc.edu/~rose/587/PPT/NaiveBayes
 http://ic.unicamp.br/~rocha/teaching/2011s2/.../naive-bayes-classifier.pdf

More Related Content

Similar to presentation2-151215164213.pptx

Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...cambridgeWD
 
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...European School of Oncology
 
Android Based Questionnaires Application for Heart Disease Prediction System
Android Based Questionnaires Application for Heart Disease Prediction SystemAndroid Based Questionnaires Application for Heart Disease Prediction System
Android Based Questionnaires Application for Heart Disease Prediction Systemijtsrd
 
csabin-bias.pdf
csabin-bias.pdfcsabin-bias.pdf
csabin-bias.pdfmaxchoy2
 
[Review] High-performance medicine: the convergence of human and artificial i...
[Review] High-performance medicine: the convergence of human and artificial i...[Review] High-performance medicine: the convergence of human and artificial i...
[Review] High-performance medicine: the convergence of human and artificial i...Dongmin Choi
 
Bayesian decision making in clinical research
Bayesian decision making in clinical researchBayesian decision making in clinical research
Bayesian decision making in clinical researchBhaswat Chakraborty
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptxHOMERMe
 
Epistemic problems 12_18_15
Epistemic problems 12_18_15Epistemic problems 12_18_15
Epistemic problems 12_18_15Scott aberegg
 
Detection of heart diseases by data mining
Detection of heart diseases by data miningDetection of heart diseases by data mining
Detection of heart diseases by data miningAbheepsa Pattnaik
 
Understanding clinical trial's statistics
Understanding clinical trial's statisticsUnderstanding clinical trial's statistics
Understanding clinical trial's statisticsMagdy Khames Aly
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectBoston Institute of Analytics
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
Determine the survival of ICU patients
Determine the survival of ICU patientsDetermine the survival of ICU patients
Determine the survival of ICU patientsHWHwang_
 
Disease prediction and doctor recommendation system
Disease prediction and doctor recommendation systemDisease prediction and doctor recommendation system
Disease prediction and doctor recommendation systemsabafarheen
 

Similar to presentation2-151215164213.pptx (20)

Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
 
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...
NY Prostate Cancer Conference - A. Vickers - Session 1: Traditional statistic...
 
Android Based Questionnaires Application for Heart Disease Prediction System
Android Based Questionnaires Application for Heart Disease Prediction SystemAndroid Based Questionnaires Application for Heart Disease Prediction System
Android Based Questionnaires Application for Heart Disease Prediction System
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
csabin-bias.pdf
csabin-bias.pdfcsabin-bias.pdf
csabin-bias.pdf
 
Oac guidelines
Oac guidelinesOac guidelines
Oac guidelines
 
[Review] High-performance medicine: the convergence of human and artificial i...
[Review] High-performance medicine: the convergence of human and artificial i...[Review] High-performance medicine: the convergence of human and artificial i...
[Review] High-performance medicine: the convergence of human and artificial i...
 
Bayesian decision making in clinical research
Bayesian decision making in clinical researchBayesian decision making in clinical research
Bayesian decision making in clinical research
 
Spie 7627 46
Spie   7627   46Spie   7627   46
Spie 7627 46
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 
Epistemic problems 12_18_15
Epistemic problems 12_18_15Epistemic problems 12_18_15
Epistemic problems 12_18_15
 
DiagnosEasy
DiagnosEasyDiagnosEasy
DiagnosEasy
 
Detection of heart diseases by data mining
Detection of heart diseases by data miningDetection of heart diseases by data mining
Detection of heart diseases by data mining
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Low risk chest pain
Low risk chest painLow risk chest pain
Low risk chest pain
 
Understanding clinical trial's statistics
Understanding clinical trial's statisticsUnderstanding clinical trial's statistics
Understanding clinical trial's statistics
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis Project
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
Determine the survival of ICU patients
Determine the survival of ICU patientsDetermine the survival of ICU patients
Determine the survival of ICU patients
 
Disease prediction and doctor recommendation system
Disease prediction and doctor recommendation systemDisease prediction and doctor recommendation system
Disease prediction and doctor recommendation system
 

Recently uploaded

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 

Recently uploaded (20)

Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 

presentation2-151215164213.pptx

  • 1. HEART DISEASE PREDICTION USING NAÏVE BAYES CLASSIFIER PRESENTED BY:- AMITESH GAURAV ASHOK RAJAK SHANU SONI
  • 2. ABSTRACT  The main objective of this research is to develop an Intelligent System using data mining modeling technique, name, Naive Bayes.  It is implemented as web based application in this user answers the predefined questions.  It retrieves hidden data from stored database and compares the user values with trained data set.  It can answer complex queries for diagnosing heart disease and thus assist healthcare practitioners to make intelligent clinical decisions which traditional decision support systems cannot.  By providing effective treatments, it also helps to reduce treatment costs.
  • 3. INTRODUCTION  The Bayes theorem was developed and named for THOMAS BAYES (1702-1761).  “Naive” because it is based on independence assumption.  Describes what makes something "evidence" and how much evidence it is.  Bayesian Classifiers are statistical classifiers.  They can predict the probability that a data item is a member of a particular class. Original Belief New Belief + Observation=
  • 4. EXAMPLE • 1% of women at age forty who participate in routine screening have breast cancer. • 80% of women with breast cancer will get positive Mammographies. • 9.6% of women without breast cancer will also get positive Mammographies. A woman in this age group had a positive mammography in a routine screening. What is the probability that she actually has breast cancer?
  • 5. WITHOUT BAYES THEOREM • Create a large sample size and use probabilities given in the problem to work out the problem. • Assume, for example, that 10,000 women participate in a routine screening for breast cancer. 1%, or 100 women, have breast cancer. 80% of women with breast cancer, 80 women, will get positive mammographies. 9.6%,950 women, of the 9900 women who don’t have breast cancer will also get positive mammographies. • Create a table using the numbers obtained from the assumed sample size and determine the answer.
  • 6. WITHOUT BAYES THEOREM CONTD. Out of the 1030 women who get positive mammographies only 80 actually have breast cancer, therefore, the probability is 80/1030 or 7.767%
  • 7. USING BAYES ALGORITHM where A and Bare events… •P(A) and P(B) are the probabilities of A and Bwithout regard to each other. •P(A | B), a conditional probability, is the probability of observing event A given that Bis true. •P(B | A), is the probability of observing event Bgiven that A is true.
  • 8. USING BAYES ALGORITHM CONTD. • 1% of women at age forty who participate in routine screening have breast cancer. P(B)= 0.01 • 80% of women with breast cancer will get positive mammographies. P(A│B) = 0.8 • 9.6% of women without breast cancer will also get positive mammographies. P(A│B’) = 0.096 • A woman in this age group had a positive mammography in a routine screening. What is the probability that she actually has breast cancer? Find P(B│A) ?
  • 9. USING BAYES ALGORITHM CONTD. P(B│A) = P(A│B) P(B) P(A) P(B), P(A│B), and P(A│B’) are known. P(A) is needed to find P(B│A). P(A) = P(A│B) P(B) + P(A│B’) P(B’) P(A) = (0.8) ( 0.01) + (0.096) (0.99) P(A) = 0.1030 P(B│A) = (0.8) (0.01) (0.1030) P(B│A) = 0.07767
  • 10. WHY PREFER NAÏVE BAYES ALGORITHM ? Naive Bayes or Bayes’ Rule is the basis for many machine learning and data mining methods. The rule (algorithm) is used to create models with predictive capabilities. It provides new ways of exploring and understanding data. Why to prefer naive Bayes implementation :- 1) When the data is high. 2) When the attributes are independent of each other. 3) When we expect more efficient output, as compared to other methods output.
  • 11. BAYES CLASSIFIER USES IN HEART DISEASE PREDICTION  Using medical profiles such as age, sex, blood pressure and blood sugar, chest pain, ECG graph etc.  It can predict the likelihood of patients getting a heart disease.  It will be implemented in PYTHON as an application which takes medical test’s parameter as an input.  It can be used as a training tool to train nurses and medical students to diagnose patients with heart disease.
  • 12. DATA SOURCE  Predictable attribute:- 1.Diagnosis (value 0: <50% diameter narrowing (no heart disease); value 1: >50% diameter narrowing (has heart disease))  Input attributes:- 1. Age in Year 2. Sex (value 1: Male; value 0: Female) 3.Chest Pain Type (value 1:typical type1 angina, value 2: typical type 2 angina, value 3:non-angina pain; value 4: asymptomatic) 4.Fasting Blood Sugar (value 1: >120 mg/dl; value 0: <120 mg/dl) 5.Restecg – resting electrographic results (value 0:normal; value 1: having ST-T wave abnormality; value 2: showing probable or definite left ventricular hypertrophy) 6. Exang - exercise induced angina (value 1: yes; value 0: no) 7. Thalach – maximum heart rate achieved 8. Old peak – ST depression induced by exercise 9. Heart Disease Present - 0:No 1: Yes
  • 13. IMPLEMENTATION OF BAYESIAN CLASSIFICATION  The Naïve Bayes Classifier technique is mainly applicable when the dimensionality of the inputs is high.  Despite its simplicity, Naive Bayes can often outperform more sophisticated classification methods.  Naïve Bayes model recognizes the characteristics of patients with heart disease.  It shows the probability of each input attribute for the predictable state.
  • 14. CONCLUSION  Decision Support in Heart Disease Prediction System is developed using Naive Bayesian Classification .  The system extracts hidden knowledge from a historical heart disease database.  This model could answer complex queries, each with its own strength with ease of model interpretation and an easy access to detailed information and accuracy.  The system is expandable in the sense that more number of records or attributes can be incorporated and new significant rules can be generated using underlying Data Mining technique.  Presently the system has been using 9 attributes of medical diagnosis.  It can also incorporate other data mining techniques and additional attributes for prediction.
  • 15. PROJECT REFERENCES  http://www.tutorialspoint.com/data_mining/dm_bayesian_classification.htm  https://en.wikipedia.org/wiki/Statistical_classification  jmlr.csail.mit.edu/proceedings/papers/v6/mani10a/mani10a.pdf  http://www.cse.sc.edu/~rose/587/PPT/NaiveBayes  http://ic.unicamp.br/~rocha/teaching/2011s2/.../naive-bayes-classifier.pdf