ITBA_Streamlit / README.md
Ashish-K's picture
Update README.md
204a4f9 verified

A newer version of the Streamlit SDK is available: 1.56.0

Upgrade
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

  1. Clone or download the project
  2. Create virtual environment:
    python -m venv venv
    
  3. Activate virtual environment:
    # Windows
    .\venv\Scripts\Activate.ps1
    
    # macOS/Linux
    source venv/bin/activate
    
  4. 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