File size: 843 Bytes
86450e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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:

```bash
pip install -r requirements.txt
```

2. Load the model:

```python
import joblib
model = joblib.load('best_model.pkl')
```

3. Make predictions on new data (assuming your data is in a pandas DataFrame named `new_data`):

```python
predictions = model.predict(new_data)
```