Skip to main navigation Skip to search Skip to main content

Multi-step-ahead forecasting of bike-sharing demand using multilayer perceptron model with additional timestamp features

  • Ganjar Alfian
  • , Yuris Mulya Saputra
  • , Wildan Dzaky Ramadhani
  • , Fransiskus Tatas Atmaji
  • , Umar Farooq
  • , Filip Benes
  • , Norma Latif Fitriyani
  • , Muhammad Syafrudin
    • Gadjah Mada University
    • Telkom University
    • Technical University of Ostrava
    • Sejong University

    Research output: Contribution to journal › Article › peer-review

    71 Downloads (Pure)

    Abstract

    Bike sharing is increasingly gaining popularity as an affordable and environmentally friendly mode of transportation in urban areas. However, the nature of bike sharing, where users can pick up and return bikes at different stations, often results in an uneven distribution of bikes across stations. Consequently, accurately predicting the future number of rented bikes at each station becomes crucial for bike-sharing operators to optimize the bike inventory at each location. This study introduces a multi-step-ahead forecasting model that employs machine learning methods to predict the hourly demand for rented bikes. We utilize information on rented bikes from the preceding day to forecast the forthcoming counts of rented bikes for the next 1, 3, 6, 12, and 24 h. Additional features extracted from timestamps are incorporated to enhance the accuracy of the model. We compare the proposed model, based on multilayer perceptron (MLP), with various machine learning prediction algorithms, including Support Vector Regression (SVR), K-Nearest Neighbor (KNN), Decision Tree (DT), Adaptive Boosting (AdaBoost), Random Forest (RF), and Linear Regression (LR). Applying the proposed MLP model to the Seoul bike-sharing dataset demonstrates a positive outcome, indicating a reduction in prediction error compared to other forecasting models. The proposed model achieves the highest R2 (coefficient of determination) values when compared to other models, with values of 0.973, 0.882, 0.82, 0.807, and 0.79 for prediction horizons of 1, 3, 6, 12, and 24 h, respectively. By obtaining future values for predicted rented bikes, the trained model is anticipated to assist in optimizing the number of available bikes for bike-sharing companies.
    Original languageEnglish
    Article numbere3472
    Number of pages30
    JournalPeerJ Computer Science
    Volume12
    Early online date7 Jan 2026
    DOIs
    Publication statusE-pub ahead of print - 7 Jan 2026

    Bibliographical note

    2025 Alfian et al.

    This is an Open Access article distributed under the terms of the Creative
    Commons Attribution License (http://creativecommons.org/licenses/by/4.0/)
    Under this licence, users are permitted to share, download, copy, and redistribute the material in any medium or format, and—where applicable—adapt or build upon the work, provided they comply with the conditions of the stated licence

    Funding

    This research was supported by Universitas Gadjah Mada under research grant 7173/UN1/DITLIT/Dit-Lit/PJ.00.02/2023. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

    FundersFunder number
    Gadjah Mada University7173/UN1/ DITLIT/Dit-Lit/PJ.00.02/2023

      UN SDGs

      This output contributes to the following UN Sustainable Development Goals (SDGs)

      1. SDG 11 - Sustainable Cities and Communities
        SDG 11 Sustainable Cities and Communities

      Keywords

      • artificial neural network
      • Bike sharing
      • forecasting
      • machine learning
      • Timestamps

      Fingerprint

      Dive into the research topics of 'Multi-step-ahead forecasting of bike-sharing demand using multilayer perceptron model with additional timestamp features'. Together they form a unique fingerprint.

      Cite this