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.xlsxfile.
Files
linear_regression_model.pkl: The saved scikit-learn Linear Regression model object.
Usage
You can load this model using joblib and make predictions:
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])}")