This project implements a Disease Prediction System using various machine learning algorithms to predict potential diseases based on user-provided symptoms. The system utilizes a Django web framework to provide a user-friendly interface for inputting symptoms and viewing the predicted disease.
- User Input: Allows users to input their symptoms.
- Prediction: Utilizes machine learning algorithms including SVM, KNN, Naive Bayes, Random Forest, and Decision Tree to predict potential diseases based on the input symptoms.
- Web Interface: Implemented using Django, providing a seamless user experience.
-
Clone the repository:
git clone https://github.com/sanu0711/Disease-Prediction-System.git
-
Navigate to the project directory:
cd Disease-Prediction-System
-
Install dependencies:
pip install -r requirements.txt
The following libraries are used in this project:
- joblib
- scikit-learn (includes DecisionTreeClassifier, SVC, RandomForestClassifier, GaussianNB, and KNeighborsClassifier)
- pandas
-
Run the Django server:
python manage.py runserver
-
Access the application at
http://localhost:8000
in your web browser.
- Access the web interface in your browser.
- Input the symptoms you're experiencing.
- Click on the "Predict" button to get the predicted disease.
- View the predicted disease along with its probability.
- Support Vector Machine (SVM)
- K-Nearest Neighbors (KNN)
- Naive Bayes
- Random Forest
- Decision Tree