This code builds a liver disease prediction model using the CatBoost classifier. It first loads a dataset, scales the features, and splits the data into training and testing sets. The model is then trained using CatBoost, which is known for handling categorical features and missing data well. After training, it evaluates the model's performance using metrics like accuracy, precision, recall, and F1 score. The program allows users to input new data to predict whether liver disease is present, providing a confidence level for the prediction. It also loops, allowing multiple predictions.
-
Notifications
You must be signed in to change notification settings - Fork 0
Ankush0286/ML-Powered-Health-Risk-Predictor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published