Cargando…

Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model

Accurately forecasting the demand of urban online car-hailing is of great significance to improving operation efficiency, reducing traffic congestion and energy consumption. This paper takes 265-day order data from the Hefei urban online car-hailing platform from 2019 to 2021 as an example, and divi...

Descripción completa

Detalles Bibliográficos
Autores principales: Xiao, Yun, Kong, Wei, Liang, Zijun
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9736254/
https://www.ncbi.nlm.nih.gov/pubmed/36502158
http://dx.doi.org/10.3390/s22239456
_version_ 1784846978401697792
author Xiao, Yun
Kong, Wei
Liang, Zijun
author_facet Xiao, Yun
Kong, Wei
Liang, Zijun
author_sort Xiao, Yun
collection PubMed
description Accurately forecasting the demand of urban online car-hailing is of great significance to improving operation efficiency, reducing traffic congestion and energy consumption. This paper takes 265-day order data from the Hefei urban online car-hailing platform from 2019 to 2021 as an example, and divides each day into 48 time units (30 min per unit) to form a data set. Taking the minimum average absolute error as the optimization objective, the historical data sets are classified, and the values of the state vector T and the parameter K of the K-nearest neighbor model are optimized, which solves the problem of prediction error caused by fixed values of T or K in traditional model. The conclusion shows that the forecasting accuracy of the K-nearest neighbor model can reach 93.62%, which is much higher than the exponential smoothing model (81.65%), KNN1 model (84.02%) and is similar to LSTM model (91.04%), meaning that it can adapt to the urban online car-hailing system and be valuable in terms of its potential application.
format Online
Article
Text
id pubmed-9736254
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-97362542022-12-11 Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model Xiao, Yun Kong, Wei Liang, Zijun Sensors (Basel) Article Accurately forecasting the demand of urban online car-hailing is of great significance to improving operation efficiency, reducing traffic congestion and energy consumption. This paper takes 265-day order data from the Hefei urban online car-hailing platform from 2019 to 2021 as an example, and divides each day into 48 time units (30 min per unit) to form a data set. Taking the minimum average absolute error as the optimization objective, the historical data sets are classified, and the values of the state vector T and the parameter K of the K-nearest neighbor model are optimized, which solves the problem of prediction error caused by fixed values of T or K in traditional model. The conclusion shows that the forecasting accuracy of the K-nearest neighbor model can reach 93.62%, which is much higher than the exponential smoothing model (81.65%), KNN1 model (84.02%) and is similar to LSTM model (91.04%), meaning that it can adapt to the urban online car-hailing system and be valuable in terms of its potential application. MDPI 2022-12-03 /pmc/articles/PMC9736254/ /pubmed/36502158 http://dx.doi.org/10.3390/s22239456 Text en © 2022 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Xiao, Yun
Kong, Wei
Liang, Zijun
Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title_full Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title_fullStr Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title_full_unstemmed Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title_short Short-Term Demand Forecasting of Urban Online Car-Hailing Based on the K-Nearest Neighbor Model
title_sort short-term demand forecasting of urban online car-hailing based on the k-nearest neighbor model
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9736254/
https://www.ncbi.nlm.nih.gov/pubmed/36502158
http://dx.doi.org/10.3390/s22239456
work_keys_str_mv AT xiaoyun shorttermdemandforecastingofurbanonlinecarhailingbasedontheknearestneighbormodel
AT kongwei shorttermdemandforecastingofurbanonlinecarhailingbasedontheknearestneighbormodel
AT liangzijun shorttermdemandforecastingofurbanonlinecarhailingbasedontheknearestneighbormodel