RandomForestRegressor model trained to predict Product_Store_Sales_Total for the SuperKart dataset.MonicaPopuri/superkart-dataset-train.1import joblib
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download(repo_id="MonicaPopuri/superkart-sales-predictor", filename="superkart_sales_rf_model.joblib", repo_type='model')
5model = joblib.load(model_path)
6
7# Assuming 'new_data' is a pandas DataFrame with the same features as training data
8# predictions = model.predict(new_data)