PWP MP
PWP MP
Mumbai
MICRO-PROJECT
ON
Submitted by:
04 – Sneha Umbrajkar
31 – Sayali Kshirsagar
Submitted to:
Prof. Imalata Kurapati Mam
1
CERTIFICATE
MAHARASHTRA STATE BOARD OF
TECHNICAL EDUCATION, MUMBAI
HOD PRINCIPAL
2
ACKNOWLEDGEMENT
THANK YOU ◆v
3
INDEX
1 Abstract 6
2 Introduction 7
4 Microproject Output 11
5 Future Scope 13
6 Conclusion 14
7 References 15
4
ABSTRACT
In this study, we propose a heart disease prediction system using machine
learning algorithms implemented in Python. We utilize a dataset containing
various patient attributes such as age, sex, blood pressure, cholesterol levels,
and other clinical factors. The dataset is preprocessed to handle missing values,
normalize features, and remove outliers to ensure accurate model training.
5
INTRODUCTION
Heart disease is a leading cause of mortality worldwide, accounting for a
significant portion of global deaths each year. Early detection and prediction of
heart disease play a crucial role in mitigating its impact and improving patient
outcomes. Machine learning techniques have emerged as promising tools for
predictive analytics in healthcare, offering the potential to analyze vast
amounts of medical data and extract valuable insights.
The ultimate goal of this project is to develop a reliable and efficient heart
disease prediction system that can assist healthcare professionals in assessing
patient risk factors and implementing preventive measures. By harnessing the
power of machine learning, we aim to contribute to the early detection and
management of heart disease, thereby enhancing patient care and reducing
mortality rates.
6
PROJECT SOURCE CODE
Code :
import pickle
import streamlit as st
from streamlit_option_menu import option_menu
#chatbot libraries
import nltk
import nltk.chat.util
from nltk.chat import util
from chat_patterns import patterns
with st.sidebar:
icons=['heart-pulse-fill','chat-left-heart','info-circle-fill'],
default_index = 0,
menu_icon=['clipboard2-pulse-fill'],
)
7
user_question = st.text_input('Ask a question:', key='user_input')
button_clicked = st.button('Get Answer')
def process_input(user_input):
if user_input.lower() == 'quit':
return 'Thank you for using our chatbot!'
elif user_input.strip() == '':
return 'Please enter a valid question.'
else:
return chatbot.respond(user_input)
if button_clicked:
response = process_input(user_question)
8
9
10
MICRO-PROJECT OUTPUT
11
= FUTURE
SCOPE
The heart disease prediction system developed in this project lays the
groundwork for several avenues of future exploration and enhancement in the
realm of healthcare and machine learning. Some potential areas for further
development and research include:
12
CONCLUSION
In conclusion, the development of a heart disease prediction system using
machine learning techniques in Python holds significant promise for improving
healthcare outcomes and reducing the burden of cardiovascular diseases.
Through the utilization of comprehensive patient data and advanced predictive
models, this project has demonstrated the potential to accurately assess the risk
of heart disease in individuals.
13
REFERENCES
1. https://www.researchgate.net/publication/
351686488_Doctor_Chatbot_Heart_Disease_Prediction_System
2. https://link.springer.com/chapter/10.1007/978-981-19-3571-8_24
3. https://www.researchgate.net/publication/364087429_Text-
Based_Prediction_of_Heart_Disease_Doctor_Chatbot_Using_Machine_
Learning
4. https://ieeexplore.ieee.org/iel7/9951706/9951861/09951910.pdf
14