Downloads · 30 days
0
ipinthearipin/monthly-expense-predictor
monthly-expense-predictor is a machine learning model from ipinthearipin. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a regression model trained with scikit-learn to predict monthly expenses based on average daily costs.
Downloads · 30 days
0
Access
Public
Updated Jul 31, 2025
Repo size
1.9 KB
Likes
0
Public
Click a slice to open those files.
.joblib1.9 KB · 45%
From the Hugging Face model README
This is a regression model trained with scikit-learn to predict monthly expenses based on average daily costs.
{
"avg_food": 40000,
"avg_transport": 20000,
"avg_shopping": 15000,
"avg_others": 5000,
"days_logged": 30
}
{
"predicted_monthly_expense": 2400000.00
}
from huggingface_hub import hf_hub_download
from joblib import load
import numpy as np
model_path = hf_hub_download(repo_id="your-username/monthly-expense-predictor", filename="monthly_expense_predictor.joblib")
model = load(model_path)
input_data = np.array([[40000, 20000, 15000, 5000, 30]])
prediction = model.predict(input_data)
print(f"Prediction: Rp{prediction[0]:,.2f}")