Skip to content

rishika0212/capstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— Dynamic Parking Price Prediction Pipeline

This project implements a dynamic pricing model for parking spots using real-time and historical parking data.
It adjusts parking prices automatically based on multiple factors like occupancy, queue length, nearby traffic, vehicle type, special days, and competitor prices β€” ensuring optimal utilization and revenue.


πŸ“Œ Overview

Parking spaces in cities face dynamic demand throughout the day. Static pricing leads to inefficiencies β€” underutilized spots or overcrowded cheap spots.
This pipeline reads parking data, calculates baseline prices, adjusts them based on demand drivers and nearby competitors, and outputs optimal prices in real-time.

Key features:

  • Parses real parking data with robust error handling.
  • Uses Haversine distance to find nearby competitors.
  • Dynamically adjusts prices with a competitive strategy.
  • Modular, fully logged, and production-ready.

βš™οΈ Tech Stack

Tech Purpose
Python 3.x Core scripting
Pathway Data pipelines, UDFs, joins
pandas (Optional for local CSV checks)
Logging Debugging and audit trail
Mermaid Architecture diagram
CSV Input & output format

πŸ—ΊοΈ Architecture Diagram

flowchart TD
    A[πŸ“‚ dataset.csv] --> B[πŸ“₯ Read CSV with Schema]
    B --> C[πŸ•“ Parse DateTime]
    C --> D[βš™οΈ Baseline Price Calculation]
    D --> E[πŸ“ˆ Demand Calculation]
    E --> F[πŸ’° Demand-based Price]
    F --> G[πŸ”€ Competitor Cross-Join]
    G --> H[πŸ“ Haversine Distance]
    H --> I[🚦 Filter Nearby Competitors]
    I --> J[πŸ“Š Group & Aggregate Competitor Prices]
    J --> K[βš–οΈ Final Price Adjustment]
    K --> L[πŸ“€ Output: CSV Export]
    L --> M[βœ… Pipeline Run]
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors