Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

VentureLens — Indian Startup Funding Intelligence & EDA

VentureLens is an educational, VC-analyst-oriented data science platform. It explores Indian startup funding dynamics from 2015 to 2026, tracks venture cycles (including the 2022–2024 'Funding Winter'), analyzes stage economics, and provides a transparent baseline model for the probability of another recorded funding round within 24 months (730 days).

It is designed as an analytical study and portfolio tool. It is not an investment recommendation engine, valuation model, profitability predictor, or fund-performance tracker.


Key Features

1. Market Overview & Executive Scorecard

  • KPI Metrics: Total funding rounds, unique startups funded, disclosed venture capital ($B), median round size ($M), dominant hub, and top vertical.
  • Automated Market Insights: Dynamic narrative bullets synthesizing market scale, deal skewness, geographic concentration, and data disclosure rates.
  • Visual Trajectory: Layered annual capital deployment ($B) alongside deal count.
  • Sectors, Hubs & Stages: High-level breakdowns of top sectors, cities, and stage ticket sizes.
  • Recent Deals: Formatted real-time feed of recent funding announcements.

2. Comprehensive Deep-Dive EDA

  • Macro Trends & Funding Winter:
    • Annual and quarterly funding volume and capital deployment.
    • Deal Skewness: Average vs Median round size over time (revealing why arithmetic means are 5.7x higher than medians due to late-stage mega-rounds).
    • Funding Cycle & Winter Analysis: Quantified drawdown metrics comparing Peak Bull Run (2021) vs Funding Winter (2022–2024) vs Recent Momentum (2025–2026).
  • Sector & Industry Dynamics:
    • Capital deployed vs deal count across sectors.
    • Capital concentration (% share captured by top 5 sectors).
    • Sector ticket sizing and capital intensity.
  • Geographic Hubs & Clusters:
    • Top Indian startup hubs (Bengaluru, Mumbai, Delhi NCR, Pune, Hyderabad, Chennai).
    • Metro concentration (% of all venture capital in Bengaluru, Mumbai, and Delhi NCR).
    • City-versus-sector specialization.
  • Stage Economics & Velocity:
    • Venture funding progression: Pre-seed/Angel -> Seed -> Series A -> Series B -> Series C+ -> Debt.
    • Median ticket sizing across stages.
    • Syndicate sizing (average investor count per round by stage).
    • Startup maturity: Median age in years at each funding stage.
  • Lead Investor Intelligence:
    • Leaderboard of most active lead investors by deal volume and disclosed capital.
    • Preferred stages and dominant investment verticals for each lead investor.
  • Data Quality & Hygiene Audit:
    • Field-level completeness and missingness chart.
    • Amount verification status breakdown (verified, not_disclosed, failed_check, unchecked).

3. Startup Explorer

  • Instant search across 2,100+ Indian startups.
  • Full company funding profile: total disclosed capital, rounds recorded, first round, latest stage, lead investors, and city.
  • Cumulative funding trajectory timeline chart.
  • Detailed round-by-round table with direct links to publisher articles.

4. Funding-Activity Signal Model

  • Chronological Validation: 80% historical train / 20% holdout test split (strictly respects temporal order to prevent forward macroeconomic leakage).
  • Leakage-Free Label Construction: Requires a full 730-day observable outcome window; rows without a complete follow-up horizon are strictly excluded.
  • Multi-Algorithm Benchmarking: Compares Logistic Regression, Random Forest, and Gradient Boosting on the holdout set, selecting the top model based on PR-AUC.
  • Feature Importance: Visual ranking of key predictors (Prior Disclosed Capital Total, Days Since Previous Round, Round Amount, Investor Count, Startup Age, Hub, etc.).
  • Interactive Profile Simulator:
    • One-click presets ("Seed-stage Bengaluru SaaS", "Series B Mumbai FinTech", "Pre-Seed Delhi NCR Consumer", etc.).
    • Probability meter and activity likelihood tier badge (High, Moderate, Low).

5. Deal Flow Screener

  • Multi-dimensional filtering by round amount range, sector, stage, hub city, and lead investor keyword.
  • Real-time screener KPI metrics.
  • One-click CSV export: Download filtered deals for offline modeling or spreadsheet analysis.

6. Methodology, Limitations & Governance

  • Transparent data provenance and licensing details (CC BY-NC 4.0 attribution to Fliar BI).
  • Explicit VC caveats: Why funding is an activity proxy rather than a success metric, and why real IRR/TVPI/DPI cannot be calculated without fund cash flows.

Project Structure

VentureLens/
├── app.py                          # Streamlit dashboard application
├── requirements.txt                # Python package dependencies
├── pytest.ini                      # Pytest configuration
├── README.md                       # Comprehensive documentation
├── DATA_LICENSE.md                 # CC BY-NC 4.0 data attribution
├── notebooks/
│   └── exploratory_data_analysis.ipynb # Step-by-step EDA Jupyter Notebook
├── src/venturelens/
│   ├── __init__.py
│   ├── data.py                     # Data loading, validation, and schema checks
│   ├── analytics.py                # EDA aggregations, KPIs, trends, and winter analysis
│   ├── modeling.py                 # Feature engineering, chronological split, ML pipeline
│   └── visualization.py            # Reusable Altair charts with VC styling
├── scripts/
│   ├── download_data.py            # Downloads dataset from Hugging Face
│   ├── run_eda.py                  # Automated EDA script; outputs summary JSON
│   └── train_model.py              # Benchmarks models, extracts features, saves artifacts
├── tests/
│   ├── test_data.py                # Data loading and schema validation tests
│   ├── test_analytics.py           # Cleaning, KPI, and analytics unit tests
│   └── test_modeling.py            # Supervised label, pipeline, and inference tests
├── data/raw/                       # Raw funding dataset
├── models/                         # Saved pipeline, metrics, and feature columns
└── reports/                        # Exported EDA summaries and labelled training data

Quickstart Guide

1. Requirements

  • Python 3.10 or 3.11 recommended.

2. Setup Virtual Environment

Windows PowerShell:

py -3.10 -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
pip install -r requirements.txt

macOS / Linux:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt

3. Download Dataset (Hugging Face)

python scripts/download_data.py
  • Publisher: Fliar BI (Indian Startup Funding Rounds 2015–2026)
  • License: CC BY-NC 4.0 Non-commercial educational/portfolio use.

4. Run Automated EDA Script

python scripts/run_eda.py

This computes all descriptive statistics, funding winter metrics, sector/hub concentrations, and outputs reports/eda_summary.json.

5. Train the Machine Learning Model

python scripts/train_model.py

Benchmarks Logistic Regression, Random Forest, and Gradient Boosting on the chronological holdout test set, saves feature importances, and writes model artifacts to models/.

6. Launch the Dashboard

streamlit run app.py

Open http://localhost:8501 in your browser.

7. Run Unit Tests

pytest

All unit tests in tests/ run automatically with 100% pass rate.


License & Attribution

  • Dataset: Hosted on Hugging Face by Fliar BI under CC BY-NC 4.0.
  • Educational Disclaimer: For research, education, and portfolio demonstration only. Not investment advice.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages