This project is part of Team Gana's submission for Sparkathon 2024, focusing on optimizing pricing for seasonal products using data science techniques. Our solution features an interactive Streamlit app that allows users to explore data through visualizations and obtain price recommendations based on a machine learning model.
-
Exploratory Data Analysis (EDA)
- Users can explore datasets using various visualization options, such as scatter plots, line plots, histograms, and box plots.
- The app supports multiple datasets and provides dynamic data exploration.
-
Dynamic Pricing Model
- A machine learning model (RandomForestRegressor) is used to recommend optimal prices for seasonal products.
- The model takes into account various features, including product ID, store location, competitor prices, promotions, stock levels, and season.
- Users can input these parameters to get a price recommendation along with predicted units sold and estimated revenue.
To run the application locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-repository.git cd your-repository
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
app.py
: The main file containing the Streamlit application code.sales.csv
&dataset.csv
: Example datasets used for EDA.rf_model.pkl
: Pre-trained RandomForestRegressor model for price recommendations.original_features.pkl
: Original features used for training the model.styles.css
: Custom CSS styles for the Streamlit app.
-
Exploratory Data Analysis (EDA)
- Select "EDA" from the sidebar menu.
- Choose the dataset and chart type for visualization.
- Customize the visualization settings using the sidebar options.
-
Price Recommendation
- Select "Model" from the sidebar menu.
- Enter the required input parameters for the product.
- Click "Recommend Price" to get the recommended price, predicted units sold, and estimated revenue.
Check out our demonstration video on YouTube.
You can view our detailed presentation here: Presentation Link
If you wish to contribute to this project, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
For any inquiries or feedback, please reach out to us.
#DynamicPricing #MachineLearning #StreamlitApp #DataScience #RetailTech #Sparkathon2024 #TeamGana #Innovation #RetailSolutions #DataScienceInRetail