Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available: 1.56.0
metadata
title: BA Streamlit Demo
emoji: π
colorFrom: blue
colorTo: purple
sdk: streamlit
app_file: app2.py
pinned: false
Intro to Business Analytics - Interactive Analytics Flow
A comprehensive Streamlit application demonstrating end-to-end business analytics workflow.
π― Overview
This application provides a complete analytics journey from data exploration to predictive modeling and what-if scenario analysis. Perfect for teaching business analytics concepts and demonstrating practical applications.
π Features
- π Descriptive Analytics: Time series analysis, channel/region breakdowns, correlation matrices
- π Inferential Analytics: Statistical relationships and correlation analysis
- π€ Predictive Modeling: Machine learning with Linear Regression, Ridge, and Lasso
- π‘ What-If Scenarios: Interactive scenario modeling for business decisions
- π Data Upload: Support for custom CSV files or built-in demo data
- βοΈ Data Preprocessing: Outlier handling, smoothing, aggregation options
π οΈ Installation
- Clone or download the project
- Create virtual environment:
python -m venv venv - Activate virtual environment:
# Windows .\venv\Scripts\Activate.ps1 # macOS/Linux source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
πββοΈ Usage
Run the application:
streamlit run streamlit_app.py
The app will open in your browser at http://localhost:8501
π Requirements
- Python 3.8+
- streamlit
- pandas
- numpy
- scikit-learn
π Educational Use
This application is designed for:
- Business Analytics courses
- Data Science workshops
- Analytics demonstrations
- Interactive learning sessions
π Demo Data
The application includes realistic marketing data with:
- Multiple channels (Search, Social, Email, Display, Affiliate)
- Regional breakdowns (North, South, East, West)
- Time series data (weekly granularity)
- Key metrics (spend, clicks, conversions, revenue)
π§ Customization
- Upload your own CSV data
- Adjust preprocessing parameters
- Modify model hyperparameters
- Customize visualizations
π License
Created for educational purposes at UIUC Gies College of Business.
Author: Ashish Khandelwal (UIUC Gies)
Built with: Streamlit, Python, scikit-learn