File size: 938 Bytes
75e2000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

# Monkey Sterilization Prediction Model

This repository contains a trained `LinearRegression` model to predict the number of monkeys sterilized per year based on historical data.

## Model Details

*   **Model Type:** Linear Regression
*   **Input:** Year (numeric)
*   **Output:** Predicted number of monkeys sterilized
*   **Training Data:** Provided in the `Monkey.xlsx` file.

## Files

*   `linear_regression_model.pkl`: The saved scikit-learn Linear Regression model object.

## Usage

You can load this model using `joblib` and make predictions:

```python
import joblib
from huggingface_hub import hf_hub_download

model_path = hf_hub_download(repo_id="Chama99/monkey-sterilization-model", filename="linear_regression_model.pkl")
model = joblib.load(model_path)

# Example prediction for year 2030
predicted_sterilized = model.predict([[2030]])
print(f"Predicted sterilized monkeys in 2030: {int(predicted_sterilized[0])}")
```