Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

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

TechPurpose
Python 3.xCore scripting
PathwayData pipelines, UDFs, joins
pandas(Optional for local CSV checks)
LoggingDebugging and audit trail
MermaidArchitecture diagram
CSVInput & 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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages