Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.98 KB

README.md

File metadata and controls

31 lines (17 loc) · 1.98 KB

Liver_Disease_Prediction

Spearheaded research tackling the paramount global issue of Liver Disease, impacting populations worldwide. Employed intricate machine learning techniques to decipher complex patterns within vast datasets, enabling insightful decision-making.

Utilized the Indian Liver Patient Dataset (ILPD) from the University of California, Irvine repository to conduct a comprehensive analysis. Leveraged key health indicators like Alkaline Phosphatase, Alamine Aminotransferase, and others to predict future health scenarios.

Employed advanced machine learning algorithms such as Logistic Regression, Random Forest, and Naive Bayes for accurate predictions.

Orchestrated the creation of an intuitive Flask interface, enabling users to determine their liver health status confidently. Selected the most accurate machine learning algorithm to determine outcomes.

Steps for Execution:

  1. First import all the necessary python libraries.

  2. Perform data pre-processing and exploratory data analysis, to eliminate the duplicate values.

  3. In exploratory data analysis the plot used are scatter, countplot, histogram, box plot, joint plot, facetgrid, pairplot etc..

  4. Calculate correlation of each column in the data frame. Draw the correlation matrix

  5. The algorithms used are: Logistic Regression, K Nearest Neighbor, Support Vector Machine, Random Forest Classifier, Naive Bayes Classifier.

  6. After execution select the best model import it in the flask code and keep them all in same directories.

  7. Now for the final result we need to open our Anaconda prompt and run the flask code.

  8. Once the flask code is executed in the command prompt exclusively with admin access, you will be greeted with webpage link which will take you to the output of the project where initially an index page is shown.

  9. The user enters the values for the attributes shown on the web page and clicks on the 'Submit' button.

  10. The predicition is shown whether the user has Liver Disease or not.