Skip to content

This a multiple disease prediction based on user input which can predict upto 40 disease and trained on 131 parameters

Notifications You must be signed in to change notification settings

Sudhanshu-Ambastha/Multiple-Disease-Prediction-Bot

Repository files navigation

Multiple Disease Prediction Bot

Web capture_16-12-2023_15579_localhost Web capture_16-12-2023_16327_localhost

Table of Contents

About

The Multiple Disease Prediction Bot is a machine learning model designed to predict up to 41 different diseases based on input symptoms. The model is trained on a dataset with approximately 131 parameters and utilizes three different training models: Support Vector Machine (SVM), Random Forest (RF), and Naive Bayes (NB).

Please note that when providing input to the bot, it's important to format the symptoms as follows: "Itching,Skin_Rash,Nodal_Skin_Eruptions." Incorrect formatting may lead to false predictions or errors.

Files

  1. Multiple disease prediction with spyder.py (working main model): This file contains the main code for the disease prediction bot using the Spyder IDE.
  2. Multiple_disease_prediction_bot_trained_model_svm.sav: This file contains the trained SVM model for disease prediction.
  3. Testing.csv: The dataset used for testing the disease prediction bot.
  4. Training.csv: The dataset used for training the machine learning models.
  5. multiple_disease_prediction_.py (Google Colab file): The Google Colab file for disease prediction using the trained models.

Features

  • Predicts up to 41 different diseases.
  • Utilizes approximately 131 parameters for training.
  • Trained on three different models: SVM, RF, and NB.

Usage

To use the Multiple Disease Prediction Bot, follow these steps:

  1. Open the "Multiple disease prediction with spyder.py" file using an appropriate IDE like Spyder.
  2. Format the input symptoms as "Itching,Skin_Rash,Nodal_Skin_Eruptions."
  3. Run the code to get disease predictions.

Remember to ensure that the input is properly formatted to receive accurate predictions.

Format for Input Parameters

When providing input parameters for disease prediction, use the following format: "Parameter1,Parameter2,Parameter3. "for ex= "Fungal infection: Itching,Skin_Rash,Nodal_Skin_Eruptions"

List of Available Symptoms & Diseases

List of Symptoms:-
A B C D E
Abnormal_Menstruation Bladder_Discomfort Chest_Pain Dark_Urine Enlarged_Thyroid
Abdominal_Pain Belly_Pain Chills Dehydration Excessive_Hunger
Acidity Blurred_And_Distorted_Vision Cold_Hands_and_Feets Depression Extra_Marital_Contacts
Acute_Liver_Failure Bloody_Stool Coma Diarrhoea
Altered_Sensorium Back_Pain Constipation Dizziness
Anxiety Breathlessness Congestion Drying_and_Tingling_Lips
Belly_Pain Continuous_Sneezing Dischromic
Brittle_Nails Continuous_Feel_of_Urine Distention_Of_Abdomen
Blackheads Cough
Bruising Cramps
Blister
Burning_Micturition
Blood_In-Sputum
F H I J K L
Fast_Heart_Rate High_Fever Irregular_Sugar_Level Joint_Pain Knee_Pain Lack_of_Concentration
Fatigue Headache Increased_Appetite Lethargy
Fluid_Overload Hip_Joint_Painlurred_And_Distorted_Vision Increased_Urination Loss_of_Appetite
Foul_Smell_of_Urine History_of_Alcohol_Consumption Indigestion Loss_of_Balance
Family-History Inflammatory_Nails Loss_of_Smell
Internal_Itching
Irritability
Irritation_in_Anus
Itching
M N O P R S
Muscle_Wasting Nausea Obesity Phlegm Redness_Of_Eyes Slurred_Speech
Malaise Neck_Pain Pain_Behind_The_Eyes Red_Sore_Around_Nose Sweating
Metallic_Taste Nodal_Skin_Eruptions Patches_In_Throat Red_Spots_Over_Body Sunken_Eyes
Mild_Fever Pain_During_Bowel_Movements Restlessness Scurring
Mood_Swings Pain_in_Anal_Region Runny_Nose Shivering
Movement_Stiffness Painful_Walking Rusty_Sputum Silver_Like_Dusting
Muscle_Pain Palpitations Receiving_blood_transfusion Sinus_Pressure
Muscle_Weakness Polyuria Receiving_Unterile_Injections Skin_Peeling
Muscular_Stiffness Prominent_Veins_on_Calf Skin_Rash
Mucoid_Sputum Puffy_Face_and_Eyes Small_Dents_in_Nails
Pus_Filled_Pimples Spinning_Movements
Patches Spotting_Urination
Palpitations Stiff_Neck
Stomach_Pain
Stomach_Bleeding
Swelling_Joints
Swelling_of_Stomach
Swollen_Legs
Swollen_Blood_Vessels
Swollen_Extremities
Swollen_Lymph_Nodes
T U V W Y
Throat_Irritation Ulcers_on_Tongue Vomiting Watering_From_Eyes Yellow_Crust_Ooze
Toxic_Look_(Typhos) Unsteadiness Visual-Disturbances Weakness_in_Limbs Yellow_Urine
Weight_Gain Yellowing_of_Eyes
Weight_Loss Yellowish_Skin
weakness_of_one_body_side
List of Diseases:-
Column 1 Column 2 Column 3 Column 4 Column 5
Fungal infection Jaundice Heart attack Arthritis GERD
Hepatitis C Malaria Varicose veins Paroymsal Positional Vertigo Diabetes
Hepatitis E Pneumonia Gastroenteritis Acne Heart Disease
Alcoholic hepatitis Dengue Bronchial Asthma Urinary tract infection Chronic cholestasis
Tuberculosis Typhoid Hypoglycemia Psoriasis Drug Reaction
Common Cold Hypothyroidism Osteoarthristis Hepatitis D Peptic ulcer disease
Chicken pox Hyperthyroidism Migraine Hepatitis B AIDS
Dimorphic hemmorhoids(piles) Hypertension Paralysis (brain hemorrhage) Allergy Hepatitis A
Impetigo

Getting Disease Predictions

To run the predicting system for a result, simply copy and paste the parameters for that disease in the format mentioned above. The model will analyze the input parameters and provide a prediction for the disease based on the provided data.

Remember to include all relevant parameters in the input to receive accurate predictions and Kindly provide an adequate number of input symptoms to avoid potential errors and ensure a smoother experience and more accurate results. Just like doctors need sufficient symptoms to diagnose accurately, our system functions better with comprehensive information, reducing the chances of errors.

Troubleshooting

If you encounter any issues or have questions, please don't hesitate to reach out for support.

Happy predicting! 🤖💙

Check out the other repositories related to this one

Related Repos which you should check out:-

Web capture_16-12-2023_162935_localhost

Web capture_16-12-2023_162351_localhost

- Check out the main repo as this project is part of it

Combined Disease Predictor

Contributors


Sudhanshu Ambastha


Parth Shrivastava


Sarthak Srivastava