Testsample / README.md
Oluwagbenga's picture
Upload 3 files
86450e9 verified
|
Raw History Blame Contribute Delete
843 Bytes

Hepatitis Prediction Model

This repository contains a machine learning model trained to predict the class (live or die) of hepatitis patients based on various clinical features.

Model Details

The model was trained using the PyCaret library, and the best performing model was AdaBoost Classifier.

Files

  • best_model.pkl: The trained model file.
  • requirements.txt: List of required Python packages.
  • README.md: This file.

Usage

You can load and use the model for predictions using the following steps:

  1. Install the required packages:
pip install -r requirements.txt
  1. Load the model:
import joblib
model = joblib.load('best_model.pkl')
  1. Make predictions on new data (assuming your data is in a pandas DataFrame named new_data):
predictions = model.predict(new_data)