Downloads · 30 days
0
NeshVerse/Sales_Prediction_U
Sales_Prediction_U is a machine learning model from NeshVerse. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
--- tags: - regression - sales-prediction library: scikit-learn ---
Downloads · 30 days
0
Access
Public
Updated Sep 16, 2025
Repo size
267 MB
Likes
0
Public
Click a slice to open those files.
.joblib267 MB · 100%
From the Hugging Face model README
tags:
RandomForestRegressor model within a Pipeline using TfidfVectorizer for the 'product_name' feature was successfully trained.df_query was created with 'product_name' set as the index and 'sales_value' as a numeric type.query_sales_data was implemented to filter the sales data DataFrame based on a provided query string using dataframe.eval().predict_and_query was successfully developed to integrate the prediction model and querying functionality, allowing users to predict sales for a product and retrieve its actual sales data.query_sales_data function provides a basic querying capability. For a large dataset or more complex querying needs, consider implementing a more robust data storage and querying solution, such as a database.sample_product_name_for_prediction = "APPLE IPHONE 16 128GB SS "MP01213171""
result = predict_and_query(sample_product_name_for_prediction)
print(f"Prediction and Query Result for '{sample_product_name_for_prediction}':") print(f"Predicted Sales: {result['predicted_sales']:.2f}") print(f"Actual Sales: {result['actual_sales']}")