Healthcare Chatbot Using Decision Tree Algorithm
Healthcare Chatbot Using Decision Tree Algorithm
ISSN No:-2456-2165
Abstract:- Artificial Intelligence(AI) and Machine The chatbot is simply a code that runs on a software by
Learning(ML) has become an integral part of our day to copying human conversation and infer a fruitful result.The
day life. A large number of technologies are coming forth user will be given queries and they will answer based on
to help us and make our life easier. Chatbot or virtual which symptoms will be diagnosed and a disease or health
assistant is a technology that is coming forward in this dilemma will be understood. This will help the patient to refer
regard. Previously, we had simple questions and answers to the specific specialist. For instance, the patient can refer to
or FAQs in the name of assistant, but now the chatbot will a cardiologist if a heart problem is diagnosed by the
diagnose the disease based on queries answered by the chatbot.The design of the chatbot will suit the user and they
users. can get a quick and accurate diagnosis based on the
symptoms they produce in the questionnaire.
The model will be trained by using a highly
diversified and accurate database with symptoms and II. LITERATURE SURVEY
diseases.The proposed model uses a decision tree
algorithm to initiate a top down follow up and identify the For our project we took into account several other
complexity of the patient and produce a outcome.The user previously successful works on the chatbots from the
is provided a question and answer approach and a healthcare domain.This paper focuses on our model which
preferable and highly accurate diagnosis is produced. resorts to question and answer patterns with the user.The user
will feel that they are having a dialogue with another person
Keywords:- Healthcare Chatbot, Artificial Intelligence, and not a chatbot.
Machine Learning,Decision Tree Algorithm.
The diagnosis done by our chatbot will be more accurate
I. INTRODUCTION than the existing models as our dataset is more enriched and
factual. Our dataset gives accurate conclusions and better
We live in the information age, the business with more outputs with proper diagnosis.
information survives the market. AI plays a vital role in
streamlining the data into the computer which gives a useful The chatbot uses a decision tree classifier as the
result to make human life easier. AI stands for Artificial algorithm and gives proper diagnosis.The algorithm is quick
Intelligence, the science which allows machines to improve and gives better conclusions.
capabilities of average human intelligence. In today’s world,
self-driving cars have come into existence. This shows the
immense possibilities in development of machines which
would help humans in large scales. At this stage AI is the way
to explore the limits of technology. Over the last decade,
people and organizations have gained trust on AI.
Fig. 1: Trustworthiness of AI
The above chart shows that 59% of the population agrees Table 1: References from previous papers
with the fact that AI has been helping the human world in
various ways, while 24% of the population did not have the
idea about the roles of AI, the other 17% of the
population were clueless.
IV. IMPLEMENTATION
Python can be used to build GUI [Graphical User In a Decision Tree classifier which is a tree-
Interfaces] using the Tk GUI library. Tkinter acts as an structured classifier, the interior nodes represent the
interface to the Tk GUI library. Tkinter, an optimal GUI features of the used dataset. The branches in the tree
library in Python can be used efficiently to add GUI structure are the rules to make decisions and classify them
components in an easy way. It facilitates powerful object- into predictions and the leaf nodes are the generated
oriented interconnectivityto the Tk GUI library. outcomes. The Decision Tree is a graphical representation to
determine all the possible outcomes to a problem based on
In order to be helpful to the users, the chatbot will be fed the training dataset. To form a tree structure, CART
with an enriched symptom mapped disease dataset which Classification and Regression tree algorithm is used. The
would help the learning algorithm to give appropriate results tree formation is implemented by asking questions and
based on the symptoms a user query carries. based on the answer(Yes/No), the splitting off of the
branches is done.
V. RESULTS DISCUSSION
REFERENCES