Skip to content

MQushaym/Traffic-congestion-prediction-using-machine-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project: Riyadh Traffic Congestion Prediction

This is a machine learning project that aims to predict the TrafficIndexLive in Riyadh, based on a dataset from Kaggle.

The model analyzes historical traffic patterns based on factors such as:

  • Time (hour, day, month).
  • Historical data (traffic index from a week ago, historical travel time).
  • The model was built using a RandomForestRegressor and showed good results (Mean RΒ² ~0.98).

πŸ“Š Dataset

This project uses the "Traffic Index in Saudi Arabia and Middle East" dataset available on Kaggle.


πŸ““ Code & Notebook

The complete analysis, data processing steps, and model building can be found in my public Kaggle Notebook.


πŸ› οΈ Technologies Used

  • Python 3
  • Pandas: For data manipulation and analysis.
  • Numpy: For numerical operations.
  • Scikit-learn: For model building (RandomForestRegressor) and evaluation (cross_val_score, mean_squared_error).
  • Jupyter / Kaggle Notebooks: As the development environment.

πŸ“ž Contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published