Downloads · 30 days
0
Rahul-Crudcook/BigMart_Sales_Prediction
BigMart_Sales_Prediction is a machine learning model from Rahul-Crudcook. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for sklearn.
Downloads · 30 days
0
Access
Public
Updated Nov 6, 2024
Repo size
122 MB
Likes
0
Public
Click a slice to open those files.
.pkl122 MB · 100%
From the Hugging Face model README
This model is designed to predict sales for the BigMart dataset using a regression approach. It was trained using Scikit-Learn's ExtraTreesRegressor on features such as Item_Weight, Item_Visibility, Item_Type, and more.
The model can be directly used to predict sales figures for products based on features present in the BigMart dataset.
The model can be extended or fine-tuned for other retail sales prediction tasks if appropriate features are available.
Not suitable for NLP or other non-regression tasks.
This model is trained on the BigMart dataset and may not generalize well to other datasets or industries. There could be inherent biases due to data collection, such as location-specific sales patterns.
Users should evaluate the model's performance on their own datasets before using it for decision-making.
You can use the following code to load the model:
from huggingface_hub import hf_hub_download
import joblib
repo_id = "Rahul-Crudcook/BigMart_Sales_Prediction"
model_filename = "bigmart_sales_model.pkl"
file_path = hf_hub_download(repo_id=repo_id, filename=model_filename)
# Load the model
model = joblib.load(file_path)
# Example prediction (replace X_test with your test data)
# predictions = model.predict(X_test)