This Streamlit application empowers users to estimate ride costs using a dynamic pricing model. By analyzing historical data with data-driven techniques, the model can adjust prices in real-time based on various factors. Built using a CatBoost Regression model, it considers features like vehicle type, number of riders and drivers, and expected ride duration to predict adjusted fares.
This project involved several key steps:
- Data Wrangling: Data was obtained from statso.io and meticulously prepared for analysis.
- Exploratory Data Analysis: The data was thoroughly examined to understand its characteristics and identify potential patterns.
- Feature Engineering: Calculated adjusted fares by incorporating demand and supply multipliers.
- Model Building and Evaluation: The CatBoost Regression model was trained and rigorously evaluated to ensure its accuracy. Hyperparameters were also optimized for peak performance.
- Model Deployment: Finally, the model was deployed within the Streamlit app, making it accessible to users.
conda create --name dynamic-pricing-app python=3.9
conda activate dynamic-pricing-app
pip install streamlit pickle-mixin pandas
streamlit run app.py