IDEAS home Printed from https://ideas.repec.org/a/spr/pubtra/v17y2025i3d10.1007_s12469-025-00401-1.html
   My bibliography  Save this article

A comparative study of machine learning models for taxi-demand prediction using a big data framework

Author

Listed:
  • Shafiq Alam

    (Massey University)

  • Muhammad Sohaib Ayub

    (Lahore University of Management Sciences)

  • Hao Cui

    (Whitireia Community Polytechnic)

  • Muhammad Asad Khan

    (Hazara University)

Abstract

The increase in urban vehicle numbers and ownership extends traffic congestion, with road expansion often escalating the problem, while growing individual car usage further contributes to the issue. To address these challenges, the development of efficient and accurate demand predictors, particularly for taxi-passenger demand, has attracted a significant attention from both industry and academia. This research aims to address the question of how predictive models, evaluated within a big data framework, can be effectively utilized to forecast taxi-passenger demand and enhance urban mobility. The study is structured around two key objectives: first, to evaluate existing predictive models for analyzing traffic data and forecasting taxi-passenger demand using a dataset from the New York City Taxi and Limousine Commission (TLC), and second, to provide practical recommendations for improving demand prediction through a comparative analysis of machine learning models—such as multinomial logistic regression, generalized linear regression, random forest, and decision tree algorithms. Our results demonstrate that the glr outperforms both random forest and decision tree models in predicting taxi-passenger demand, achieving approximately 90% $$\text{R}^{2}$$ R 2 score. The multinomial logistic regression classifier predicts demand levels with over 70% accuracy. The lower performance of random forest and decision tree algorithms is attributed to the highly imbalanced nature of the demand, leading to overfitting and local optimization issues. The application of these predictive models can contribute to optimizing fleet management, reducing passenger waiting times, and improving taxi distribution, potentially alleviating congestion and supporting a better integration with other transport modes.

Suggested Citation

  • Shafiq Alam & Muhammad Sohaib Ayub & Hao Cui & Muhammad Asad Khan, 2025. "A comparative study of machine learning models for taxi-demand prediction using a big data framework," Public Transport, Springer, vol. 17(3), pages 803-833, October.
  • Handle: RePEc:spr:pubtra:v:17:y:2025:i:3:d:10.1007_s12469-025-00401-1
    DOI: 10.1007/s12469-025-00401-1
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s12469-025-00401-1
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s12469-025-00401-1?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:pubtra:v:17:y:2025:i:3:d:10.1007_s12469-025-00401-1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.