A web-based automated stock analysis and inventory tool built with Flask and Python. It allows users to upload data, analyze trends, track profit, and view insights through an interactive dashboard.
- File Upload & Processing: Securely uploads CSV files and cleans dataset parameters.
- Profit Analytics: Visualizes top profit-generating items using interactive bar charts.
- Time & Growth Analysis: Analyzes day-wise and monthly sales trends.
- Inventory & Dead Stock Monitoring: Generates restock alerts, tracks high-demand products, and flags dead stock.
-
ML Forecasting: Predicts future sales trends utilizing a
RandomForestRegressormodel alongside$R^2$ accuracy scoring. - Customer Loyalty & Product Bundling: Computes VIP tables, visit distributions, and frequent item pairs.
- Backend: Python, Flask
- Data Processing: Pandas, NumPy
- Machine Learning: Scikit-learn (Random Forest Regressor)
- Visualization: Plotly (Express & Graph Objects)
- Clone the repository:
git clone [https://github.com/codecrafted155/automated-stock-analyzer.git](https://github.com/codecrafted155/automated-stock-analyzer.git)
- Navigate to the project folder:
cd automated-stock-analyzer ```
- Install dependencies:
pip install -r requirements.txt``` - Run the Flask application:
python app.py```
4.Open your browser and go to: http://127.0.0.1:5000/