Abstract
Bike-sharing use has been growing because it improves personal mobility, offers an alternative to walking, and strengthens connections to transit. Demand forecasting is crucial for bike-sharing services because it enables operators to anticipate empty stations and full docks, improve vehicle rebalancing and staffing, and deliver more reliable service at lower operating cost. In this paper, we propose a cluster-based, hour-ahead demand forecasting methodology that (1) groups stations into geographically coherent areas using K-means clustering method, (2) constructs hourly arrival and departure demand time series for each cluster while explicitly preserving zero-demand hours, and (3) incorporates exogenous factors such as temperature and weather-event type. We analyze multi-year trip records from Chicago’s Divvy bike-sharing system (2014–2017) to characterize network expansion and assess spatial stability over time. We then use the period (1 August 2016–31 December 2017), during which the number of active stations is stable, to conduct our predictive modeling. We compare three machine learning-based predictive models—linear regression (LR), time series (TS), and random forest (RF)—and assess their out-of-sample performance using the root mean squared error (RMSE). Results show that TS and RF models consistently outperform LR, achieving up to 80% values and substantially lower RMSE across all 10 clusters, with particular improvements in high-variability central areas. By forecasting net demand (arrivals minus departures) at the cluster level, the approach supports practical identification of likely surplus/deficit areas to guide rebalancing decisions.
1. Introduction
Over the past two decades, the sharing economy has not only revolutionized the organization of economic activity but has also unlocked new opportunities for consumption and production in the transportation sector. These innovations include ride-sharing services (e.g., Uber and Lyft), car- and scooter-sharing platforms, and online mobility and booking applications that coordinate rides, deliveries, and logistics [1]. More localized initiatives also exist, such as bike-sharing services offered by private enterprises or municipal governments, which help address the so-called “last-mile” challenge in urban transportation [2].
Bike-sharing services offer a flexible, convenient, and environmentally friendly micro-mobility option, typically used for short trips. They mainly serve users without mobility impairments and have expanded worldwide over the past decade [3]. In the United States, these services reach record usage, with 36.5 million trips in 2018 and 40 million in 2019; 87% of rides occur in major transit-oriented metropolitan areas such as New York, Chicago, Washington, D.C., the San Francisco Bay Area, and Boston [4]. During the COVID-19 pandemic, bike-sharing is identified as a more resilient transport mode that helps alleviate concerns about crowding on public transit [5,6].
Given the critical role of bike-sharing in urban mobility, accurate demand forecasting is essential for effective day-to-day operation. Many stations regularly empty during commuting peaks while others accumulate excess bikes, creating recurring shortages and surpluses [7]. Maintaining availability therefore requires frequent rebalancing, which is challenging due to demand uncertainty, limited fleet capacity, and the need to efficiently route rebalancing vehicles from surplus to deficit stations [8]. Operators prioritize these efforts to improve service reliability and reduce redistribution costs while preserving a positive user experience [9,10]. To achieve these goals, they dispatch trucks ahead of peak travel periods and deploy temporary bike corrals at major events to increase docking capacity [11,12]. The effectiveness of these measures depends on reliably identifying stations likely to experience over-demand [13].
However, forecasting over-demand at the individual-station level is challenging, as users frequently re-route to proximate stations in response to short-term, highly localized conditions [14]. As a result, demand observed at any single station can be noisy and volatile, limiting the performance of station-level prediction models [15,16]. However, stations located within the same neighborhood often share similar demand dynamics when aggregated over a fixed time interval (e.g., hourly), indicating strong local spatial coherence [9]. Therefore, modeling demand at the cluster level—by grouping nearby stations—offers a more practical and robust formulation while capturing area-wide demand patterns relevant for operational planning.
Current cluster-based approaches to bike-sharing demand forecasting primarily employ data analytics and machine learning (ML) methods. By extracting patterns and key determinants from historical usage data, researchers can estimate future demand [13]. ML models, in particular, can capture complex relationships within the data and enhance the accuracy and robustness of demand forecasts [17]. Despite substantial progress in bike-sharing demand modeling, existing studies rarely combine spatial clustering of stations, explicit treatment of network expansion, and systematic comparison of multiple ML models at an operationally meaningful temporal and spatial resolution.
To address these gaps, the present study pursues the following objectives: (i) develop an hour-ahead demand forecasting framework that aggregates station-level observations into geographically coherent clusters while incorporating temporal, meteorological, and network-configuration information; (ii) estimate and evaluate ML predictive models for forecasting hourly arrivals and departures at the cluster level; (iii) construct operationally interpretable net-demand measures (arrivals minus departures) to identify prospective surplus and deficit areas and to support rebalancing and resource allocation decisions; and (iv) translate the empirical findings into actionable guidance for decision-makers seeking to improve fleet management, allocate resources efficiently, and enhance overall system performance.
This study offers three contributions to the bike-sharing demand forecasting literature. Firstly, it proposes a spatially explicit, cluster-based forecasting framework that aggregates hundreds of Divvy stations into geographically coherent service areas while retaining zero-demand hours, thereby enabling operationally relevant hour-ahead predictions at a mesoscopic scale that remains underexplored in prior work. Secondly, it defines and implements an “active station number” indicator to account for network expansion and station commissioning, ensuring that model inputs and performance assessments remain stable and comparable over time despite substantial system growth. Thirdly, it conducts a systematic out-of-sample evaluation of linear regression (LR), time-series regression (TS), and random forest (RF) models, demonstrating that modeling temporal dependence and nonlinear relationships improves predictive accuracy. Beyond improving predictive accuracy, the proposed models provide decision-support capability through forecasts of cluster-level arrivals, departures, and net demand, yielding an interpretable representation of near-term imbalance dynamics that supports proactive rebalancing and resource allocation.
2. Literature Review
2.1. Demand Prediction Models
Many researchers have investigated traffic demand forecasting using both parametric and non-parametric models [18]. In parametric approaches, the data series is treated as a dynamic deviation from an underlying systematic pattern. These models typically use filters to estimate parameters that describe the system’s behavior and then use those parameters to predict future conditions. Two widely used parametric models are the autoregressive integrated moving average (ARIMA) model and the Kalman Filter [19]. ARIMA relies on autoregressive (AR) and moving average (MA) components to represent the temporal autocorrelation in a smoothed time series. It has been applied to various traffic prediction tasks, including forecasting traffic accidents and conditions such as speed, flow, and travel time [20,21,22]. Kalman Filtering is an algorithm that provides optimal estimates of system states for linear systems using state-space equations. Similarly to ARIMA, it is used not only for predicting traffic conditions but also as a tool for traffic management and control [23]. Nonetheless, parametric models rest on strong assumptions about the data, which leads to the loss of a significant amount of information. Moreover, they generally do not incorporate spatial information, limiting their ability to fully capture the spatio-temporal characteristics present in historical traffic data.
In recent years, advances in computing power and the growing availability of high-resolution mobility data have accelerated the adoption of ML approaches for travel demand forecasting. Compared with traditional parametric models, these methods can flexibly capture nonlinear relationships and complex interactions among explanatory factors, often yielding improved predictive performance. Commonly used techniques include support vector machines (SVM), random forest, Bayesian networks, markov models, neural networks, and hybrid deep learning architectures [24,25]. Beyond accuracy, a continuing research emphasis is understanding model sensitivity to data quality, temporal aggregation, and feature design, as well as improving interpretability for decision-making and operations.
This study considers LR, TS, and RF because these models are well suited to short-horizon bike-share demand forecasting while offering a pragmatic balance among interpretability, representation of temporal dependence, and nonlinear predictive capability. LR serves as a transparent and widely used benchmark, providing readily interpretable estimates of how key covariates—such as weather conditions, temperature, and station availability—relate to trip volumes. Bike-share demand also exhibits pronounced autocorrelation and recurring diurnal and weekly cycles; TS is therefore included to explicitly capture lagged temporal dependencies that a purely contemporaneous specification may overlook. RF complements these approaches by flexibly modeling nonlinear relationships and higher-order interactions among predictors without imposing restrictive functional-form assumptions, and it often yields strong predictive performance for high-dimensional tabular data. Purely parametric time-series models (e.g., ARIMA- or Kalman-style formulations) are not emphasized, given their stronger distributional and structural assumptions and their reduced flexibility when accommodating multiple covariates and complex spatiotemporal effects. More complex black-box approaches, including deep learning, are also not the focus of this work, as they typically require substantial tuning and computational resources and can limit operational transparency. In contrast, TS and RF provide a robust and practically implementable performance–interpretability trade-off that is well aligned with decision-support needs.
2.2. Bike-Sharing Research
In the context of shared bicycle systems, prior work has demonstrated that demand is shaped by heterogeneous influences such as weather, calendar effects, and surrounding travel alternatives. For example, Singhvi et al. (2015) [26] forecast usage of New York City’s bike-sharing system using a regression model that integrates taxi trip patterns and meteorological variables, highlighting the value of multimodal information. Kim (2018) [27] further examine how weather conditions and non-working days affect shared-bike demand using clustering techniques, revealing distinct demand regimes across time and user groups. Building on these insights, Hyland et al. (2018) [28] employ a hybrid cluster-regression framework to model station-level usage, combining segmentation with predictive modeling to better account for spatial and temporal heterogeneity. Collectively, these studies suggest that incorporating contextual covariates and leveraging flexible learning frameworks can enhance the modeling of bike-sharing demand, particularly when demand drivers vary across locations and periods.
In addition to the above studies, Bao et al. (2017) [29] use K-means clustering together with Latent Dirichlet Allocation (LDA) to uncover latent travel patterns and infer trip purposes. Other studies also use clustering to support cluster-level demand prediction. Li et al. (2015) [30] propose a framework that groups stations via a bipartite station-clustering method, predicts total city-wide demand using a Gradient Boosting Regression Tree, and then allocates the predicted demand across clusters using a multi-similarity inference model. Chen et al. (2016) [31] argue that station groupings should be updated in response to temporal and weather conditions as well as social and traffic events; accordingly, they develop a geographically constrained clustering approach on a weighted correlation network to dynamically form station groups with similar usage and estimate cluster-level rentals and returns using cluster averages adjusted by an inflation rate. Zhou et al. (2015) [32] applies community detection and agglomerative hierarchical clustering to group similar bike flows and stations in Chicago’s bike-sharing system and shows that cluster usage patterns differ by day, user type, travel direction, and surrounding land-use context.
2.3. Research Gap and Study Contributions
Prior studies have demonstrated that bike-share demand can be forecast with reasonable accuracy; however, performance remains constrained by several recurring limitations. Existing work rarely integrates spatial clustering of stations with an explicit representation of network expansion, and many approaches rely on a single time-series specification that does not consistently achieve the accuracy required across heterogeneous demand regimes at operationally meaningful temporal and spatial scales. In addition, abnormal observations associated with atypical events—such as severe weather—often receive limited attention, even though they can bias parameter estimates and degrade predictive performance.
To address these limitations, this study makes three main contributions to the bike-sharing demand forecasting literature. First, it develops a spatially explicit, cluster-based forecasting framework that groups hundreds of Divvy stations into geographically coherent areas and explicitly preserves zero-demand hours, enabling operationally meaningful, hour-ahead predictions at a mesoscopic scale that is rarely addressed in existing work. Second, it introduces and operationalizes an “active station number” metric to handle network expansion and station activation, allowing models to remain stable and comparable over time despite substantial growth in the system. Third, it provides a systematic, out-of-sample comparison of LR, TS, and RF models for shared-bike demand, highlighting how incorporating temporal dependence and nonlinear effects improves both predictive accuracy and the identification of surplus/deficit clusters that guide rebalancing decisions.
3. Data
This section describes the study context and data sources and then outlines the main processing steps undertaken to convert the raw data into the final hourly, cluster-level dataset. This dataset is subsequently used as input to the ML models for analysis and demand forecasting in the following section. Figure 1 summarizes the overall study workflow.
Figure 1.
Overview of the study workflow.
3.1. Bike-Sharing in Chicago Context
This study focuses on Chicago as the primary case city because of its extensive bike-sharing activity and the comprehensive availability of system-wide data. Unlike many regions where data limitations restrict analysis to selected corridors or neighborhoods, Chicago offers rich bike-sharing records that span both its dense urban core and more peripheral areas. This breadth of coverage enables an in-depth examination of shared mobility and public transport patterns, supporting a holistic view of urban mobility across diverse spatial, socioeconomic, and demographic contexts.
Within this urban setting, Divvy serves as the official bike-sharing system for the Chicago metropolitan area, including both the City of Chicago and the neighboring suburb of Evanston. It provides residents and visitors with a convenient, flexible, and relatively low-cost mode of transportation for commuting and recreational travel. Similarly to other station-based systems, Divvy consists of a fleet of robust, purpose-built bicycles docked at a network of stations distributed throughout the service area. Users can unlock a bicycle from any station and return it to any other station in the system. The service operates continuously—24 h per day, 7 days per week, and 365 days per year—offering consistent access to bikes and docking points across the network.
For this study, the Kaggle “Chicago Divvy Bicycle Sharing Data” dataset is used—a multi-year collection of detailed trip records from Chicago’s Divvy bike-share system distributed across multiple CSV files [33]. The dataset comprises 9,495,235 trip records covering the period from 1 January 2014 to 31 December 2017, with each row representing a single bike trip. Each record includes the precise trip start and end time in CST, trip duration in minutes, a unique bike identifier, and the origin and destination station IDs and names. Station identifiers can be linked to metadata such as latitude, longitude, and station capacity, supporting spatial analysis of how different parts of the city are used. Temporal information derived from the start time—year, month, week, day, and hour—enables characterization of demand patterns at multiple time scales. In addition, the dataset contains user-related information, including gender (male or female) and user type, classified as either customer or subscriber, where customers purchase 24 h passes and subscribers hold annual memberships.
The dataset also includes spatial information and station-level attributes associated with each trip. Specifically, it includes the start station identifier and name, the latitude and longitude of the start station, and the total number of docks at the start station. Analogous information is provided for the end station, comprising its identifier and name, geographic coordinates (latitude and longitude), and total dock capacity. We add two additional information to the current dataset capture weather conditions during each trip: ambient temperature and a categorical indicator of weather events (e.g., cloudy, clear, and other conditions) [34]. Taken together, the new dataset provide rich temporal and spatial information that can be used to analyze demand patterns, station popularity, commuting flows, seasonality, and the performance and evolution of the Divvy system over time. It is worth noting that data availability after 2017 is more fragmented due to changes in release policies and system expansions (including e-bikes), which also alter demand dynamics and would require substantial methodological adaptation beyond the scope of this paper. As such, the pre-2018 Divvy records used here represent the most comprehensive publicly available bike-share dataset used for Chicago. Nonetheless, the methodological contributions—spatial clustering, active-station adjustment, and multi-model comparison—remain directly applicable to current Divvy operations and to similar station-based systems worldwide.
3.2. Data Preprocessing
Data preprocessing serves as a critical bridge between the raw Divvy trip records and the modeling framework developed later in the study. The original dataset contains millions of individual trips with heterogeneous temporal and spatial attributes, making it necessary to reorganize these data into forms that meaningfully reflect system-level patterns. Several challenges arise at this stage, including the large number of geographically dispersed stations, the expansion of the network over time, and inconsistencies introduced by missing records or irregular station activity. Addressing these issues is essential to ensure that the resulting analytical units capture stable and representative patterns of bike-share usage. To support the development of hourly demand prediction models, preprocessing focuses on constructing spatially coherent station groups, defining consistent measures of station activity, aggregating trips at the cluster–hour level, and systematically handling missing observations.
3.2.1. Station Clustering Using K-Means Algorithm
Given the large number of stations in the Divvy system, a K-means clustering approach is employed to group stations into geographically coherent clusters rather than modeling demand at the level of individual stations [35]. For the clustering procedure, we use data from December 2017, the most recent month in our dataset with available station inventory (number and configuration) information. The input to the K-means algorithm is a table with three columns: the station identifier (station ID), indicating the origin station of a trip, and the corresponding latitude and longitude of that station, respectively. Station IDs are used instead of station names because a given station ID may be associated with different station names over time. An examination of the relationship between station names and station IDs shows that it is not one-to-one; station names can change, whereas the geographic location (latitude and longitude) remains constant. Consequently, the station ID is treated as the stable identifier of a physical station.
The key objective of the K-means clustering is to group stations that are geographically close to one another into the same cluster [36]. The data prepared for clustering, as described above, are first loaded. In total, this dataset contains 592 distinct stations (i.e., unique station IDs present over the selected period), which form the basis for the clustering analysis. To determine the optimal number of clusters (k), we evaluate specifications with varying cluster counts using two complementary criteria: the proportion of variance explained (rsq) and the silhouette coefficient. As shown in Figure 2, rsq increases rapidly for small values of k and reaches approximately – at , after which additional increases in k yield only marginal gains. In contrast, the silhouette coefficient is approximately at and remains above up to about , but then declines steadily for larger k, indicating reduced cluster cohesion as the clustering becomes more fragmented. Based on this trade-off, we select because it balances high explained variance with adequate cluster separation while avoiding over-fragmentation, yielding stable and operationally meaningful spatial units for demand forecasting. While a full dynamic clustering analysis is beyond the scope of this paper, these diagnostics suggest that the chosen cluster configuration is both internally coherent and sufficiently stable for the intended forecasting and rebalancing applications. Figure 3 provides a spatial representation of the resulting clusters, with cluster 10 corresponding to the central portion of the system. Following the clustering procedure, the station–cluster assignments (i.e., the mapping of station IDs to cluster labels) are exported to an external file for use in subsequent modeling stages.
Figure 2.
Example of the data structure used as input to the K-means algorithm.
Figure 3.
Geographical distribution of stations by K-means cluster.
3.2.2. Handling Station Network Expansion
After clustering stations into 10 groups, an additional challenge arises related to the temporal evolution of the system. The Divvy network expands substantially over the four-year study period, increasing from 311 stations in 2014 to 592 stations in 2017, nearly doubling in size. The change in the number of stations over time is illustrated in Figure 4. In this figure, Figure 4a shows the 311 stations operating in 2014 (blue). Figure 4b overlays stations newly introduced in 2015 (green) on the 2014 network (blue), so the combined blue and green points represent the full system by the end of 2015 (490 stations). Figure 4c uses the end-of-2015 network as the baseline (blue) and highlights stations added in 2016 (purple), yielding the complete 2016 system (585 stations). Finally, Figure 4d uses the end-of-2016 network as the baseline (purple) and marks the relatively few stations added in 2017 (red), producing the complete 2017 network (592 stations). Considering Figure 3 and Figure 4 together, many stations located in the outer clusters do not yet exist in 2014 and 2015. Consequently, it is not reasonable to use data from 2014 and 2015 to predict demand patterns in 2017 for those stations. Furthermore, the clusters are unbalanced in terms of their size, as the clustering is based solely on geographic distance. As a result, the number of stations per cluster varies considerably, which in turn leads to substantial variation in cluster-level demand; That is, some clusters contain a large number of stations, whereas others are comparatively small. It is worth mentioning that unlike station-level models that can be noisy and sparse in peripheral areas, or city-level aggregates that mask spatial imbalances, our cluster-based framework provides a mesoscopic representation suited to rebalancing operations. By aggregating 592 stations into 10 geographically coherent clusters, we reduce variance while preserving spatial structure, and the active-station metric maintains temporal stability under network expansion. Separate cluster-level forecasts of departures and arrivals then reveal surplus/deficit areas, enabling localized rebalancing decisions that city-wide models may not support and station-level noise can obscure.
Figure 4.
Temporal evolution of the number of stations in the Divvy system.
Another difficulty is the lack of detailed construction history for individual stations. The exact number of stations in operation on any given date is therefore unknown. This issue is particularly pronounced for small or low-usage stations, which may have no recorded trips on certain days. If the number of stations is computed simply by counting stations with at least one recorded trip on a given date, such stations are omitted. To address this issue, the time horizon is expanded when defining the station count. Instead of considering a single day, the total number of stations within a cluster that have at least one recorded trip during the previous seven days is computed. By extending the window from one day to seven days, the resulting measure serves as a more reliable indicator of active stations. If a station in a cluster has no trips during the past seven days, it is reasonable to exclude it from demand prediction. This derived variable is denoted as active station number. It is computed by aggregating over dates and clusters, so that for each cluster and each date, one corresponding value of active station number is obtained. The implementation is carried out in Python 3.11.5.
Figure 5 presents the evolution of active station number over time for each cluster. As expected, the city center (cluster 10) consistently has the largest number of active stations. In contrast, the two smallest clusters, cluster 3 and cluster 8, each have no more than 30 stations. Cluster 3, shown in red, does not appear before June 2016, indicating that it is introduced relatively late in the study period. Since the objective is to predict the number of arrivals and departures in the most recent months, more recent and stable information is prioritized. Under the assumption that business conditions are comparable between the training period and the test period, using a stable regime is expected to improve predictive performance. According to the plot, the active station number for each cluster stabilizes after 1 August 2016. Therefore, only data from this date onward are used in the modeling. The training and test sets are partitioned temporally. Specifically, the training set consists of 13 months of data from 1 August 2016 to 31 August 2017, and the test set comprises the final four months of the dataset, from 1 September 2017 to 31 December 2017.
Figure 5.
Evolution of active station number over time by cluster.
3.2.3. Data Aggregation and Handling of Missing Values
Structured Query Language (SQL) is employed to aggregate individual trip records into hourly trip counts at the cluster level, indexed by date and hour. Following this aggregation, each row in the resulting dataset represents the total number of departures (“from”) or arrivals (“end”), denoted by trip_n, for a given cluster in a specific hour on a specific date. That is, in this study, we construct two separate cluster-level datasets: a “from” dataset for departures and an “end” dataset for arrivals. This separation assumes that the determinants and temporal patterns of departures and arrivals may differ across clusters, and it allows us to model each component directly while retaining a clear operational interpretation (i.e., where bikes are leaving from versus where they are arriving). Missing hours with no recorded trips are treated as zero demand, under the assumption that the absence of trips in a given hour reflects true zero usage rather than data loss, which is crucial to avoid systematically overestimating demand. These choices influence downstream model performance by enabling the models to capture asymmetric departure/arrival behavior and by exposing models to the full distribution of low- and zero-demand hours, which affects both error metrics and the identification of surplus and deficit clusters.
In addition, missing weather observations are imputed using values from adjacent hours, under the assumption that temperature and prevailing conditions evolve smoothly over time and that brief gaps in the meteorological record are unlikely to reflect abrupt, unobserved changes. This approach preserves the temporal alignment between trip counts and exogenous covariates while avoiding the exclusion of entire hours of demand data. Nevertheless, it may dampen the influence of sharp, short-lived weather fluctuations, potentially biasing estimated weather effects toward more conservative (i.e., smaller-magnitude) values. Addressing this limitation—for example, by evaluating alternative imputation strategies or conducting sensitivity analyses—will be pursued in future work.
An example of the aggregated dataset is presented in Table 1. The first five rows of the departure dataset (from) illustrate the structure. For example, the first row indicates that, in cluster 1, in the year 2016, during August (week 31), on Monday, at hour 0, on the date 1 August 2016, the weather is cloudy with a temperature of 70 °F, the active station number for this cluster is 89, and there are 17 departure records in that hour. Note that temperature and weather events are identical across clusters within the same hour and therefore do not require aggregation. Two separate datasets, a ‘from’ dataset and an `end’ dataset, are generated for predicting the future number of departures and arrivals in a given hour, together with the corresponding information on weather events, temperature, and active station number.
Table 1.
Example of the aggregated hourly cluster-level trip dataset.
However, a simple aggregation of records by hour, date, and cluster leads to missing hours in the resulting datasets. These missing hours correspond to periods with no recorded trips and should therefore be assigned a value of 0 for trip_n. If such hours without any trips are omitted from the model, demand is likely to be overestimated. To address this issue, a full time grid is constructed in SQL, containing all hours from 1 August 2016 00:00 to 31 December 2017 23:00. By joining the aggregated datasets with this full-time table, hours with no trips are included and trip_n is set to 0. In total, each dataset contains 28,575 rows with trip_n = 0 (approximately 23% of all observations). Because temperature and weather events are defined at the hourly level and are constant across clusters, any hour with no riding record also lacks associated weather information. There are 54 such hours, which result in 540 incomplete observations across the 10 clusters. Given the overall size of the dataset, these 540 observations represent a very small fraction and are therefore removed from the analysis. After dropping observations with missing weather data, each dataset (departures and arrivals) contains 123,780 observations. It is worth noting that we analyze the complete 2014–2017 Divvy dataset to characterize station network expansion and assess spatial stability across that expansion. However, all predictive modeling in the following section uses only the stable-network period (1 August 2016–31 December 2017), during which the number of active stations is stable.
4. Models
This study employs three ML-based models—LR, TS, and RF—to capture temporal dependence, and flexibility in representing nonlinear relationships. These models are all supervised ML techniques used for predicting continuous outcomes, but they differ in their assumptions, flexibility, and degree of transparency. It is worth mentioning that for each modeling approach—LR, TS, and RF—we use separate models for each cluster rather than a single pooled model across all clusters. In other words, ten departure models and ten arrival models are fitted, using only the observations belonging to that cluster. This strategy allows the models to capture cluster-specific temporal patterns and demand levels without imposing a common parameter structure across heterogeneous areas, and it also simplifies the interpretation of results in terms of localized operational decisions. In the following subsections, each of these models is described in more detail.
4.1. Linear Regression (LR)
LR is a classical statistical approach used to model the relationship between a scalar response (dependent variable) and one or more explanatory (independent) variables [37]. In a supervised machine learning context, LR estimates the parameters of a linear function that best fits the relationship between the independent variables and the dependent variable [38]. In the present analysis, LR is applied to predict the number of trips within each cluster. The demand is decomposed into two components: the number of arrivals (“end”) and the number of departures (“from”) in each cluster. Forecasting arrivals and departures at the cluster level makes it possible to identify clusters that are likely to experience shortages or surpluses of bicycles. This information, in turn, enables more efficient allocation of bicycles across stations by anticipating the number of check-ins and check-outs in each cluster. If the number of bicycles checked out in advance is known, the operator (Divvy) can determine when and where to redistribute bicycles so that customers continue to have access to bikes at stations within each cluster. Accurate prediction of demand at the cluster level is therefore crucial for system performance and customer satisfaction; unfulfilled demand is likely to result in dissatisfied users.
To this end, LR models are specified separately for departures and arrivals, using the following independent variables: month, day of week, hour of day, weather event (e.g., cloudy, sunny), temperature, and the active number of stations. These variables are identified as relevant predictors based on the model specification and statistical significance of their coefficients. The variables month, day, hour, and weather event are treated as categorical, whereas temperature and the active number of stations are numerical. The regression results indicate that all variables are statistically significant in explaining the variation in trip counts. Similar patterns of significance are observed across other clusters and for both arrivals and departures. Subsequently, 10 separate departure models and 10 separate arrival models are estimated, one pair for each cluster obtained from the K-means clustering procedure. Figure 6 and Figure 7 report the training and test errors, measured by the root mean squared error (RMSE), for the departure and arrival models across the 10 clusters. Figure 6 summarizes the predictive performance of the arrival LR models across the ten clusters, reporting RMSE for both training and test sets. For most clusters, the train and test errors are similar and relatively low, indicating limited overfitting and a good fit of the specified predictors. In contrast, cluster 10 (downtown Chicago) exhibits consistently higher RMSE than the peripheral clusters, indicating more complex demand dynamics in this area. This pattern may be attributed to several factors. First, substantially higher trip volumes and variance driven by a mix of commuter, tourist, and recreational travel. Second, increased sensitivity to irregular events (e.g., concerts, festivals, and sporting events) that are not explicitly captured by the weather and temporal covariates used in this study. Third, a higher share of short, discretionary trips, which can produce noisier hourly arrival patterns than the more regular, commute-dominated demand observed in peripheral clusters. A similar pattern is observed in Figure 7, where the departure models for Cluster 10 also display markedly larger errors than those for the other clusters.
Figure 6.
RMSE comparison of training and testing datasets across clusters for arrival prediction.
Figure 7.
RMSE comparison of training and testing datasets across clusters for departure prediction.
In addition, Figure 8 and Figure 9 illustrate the distribution of trip counts by cluster for departures and arrivals, respectively. The boxplots reveal substantial heterogeneity in ridership across clusters, with Cluster 10 exhibiting both the highest median trip counts and the broadest variability, including numerous high-volume observations. This elevated dispersion and the presence of frequent outliers align with the RMSE patterns observed in the regression results, where Cluster 10 consistently shows the largest prediction errors. Conversely, clusters such as 3, 7, and 8 display markedly lower trip volumes and narrower distributions, which corresponds to their comparatively low RMSE values. RMSE is chosen as the primary evaluation metric because it penalizes large errors more heavily than alternatives like Mean Absolute Error (MAE), which is critical for bike-sharing operations where substantial under- or over-predictions of demand can lead to empty stations or full docks. The squared error term emphasizes the high-variability demand patterns observed in central clusters (e.g., Cluster 10), where accurate forecasting is most operationally important.
Figure 8.
Trip number distribution by cluster based on .
Figure 9.
Trip number distribution by cluster based on .
Model performance is further assessed using cross-validation for both departure and arrival models, as shown in Figure 10 and Figure 11, respectively. The training error and cross-validation error are very similar (with the cross-validation error slightly higher), indicating that the models provide a reasonably good fit without substantial overfitting. The validation error reflects how well the learned model generalizes to data that are not used during training.
Figure 10.
RMSE comparison of cross-validation and training datasets across clusters for departure prediction.
Figure 11.
RMSE comparison of cross-validation and training datasets across clusters for arrival prediction.
LR is one of the simplest models in ML and can perform reasonably well when the underlying relationship in the data is approximately linear. It is also relatively prone to overfitting; however, this issue can be mitigated through the use of regularization techniques and cross-validation. In the present study, cross-validation is conducted to assess model generalization, and the training and validation errors are found to be similar, indicating that the LR models achieve an adequate fit and do not suffer from substantial overfitting. A major limitation of LR lies in its assumption of linearity between the dependent variable and the independent variables. In many real-world applications, including bike-sharing demand, the relationship between predictors and response is rarely strictly linear. To partially address this, interactions and combinations of existing variables can be considered. Investigating this direction remains an avenue for future research. A further challenge is the sensitivity of LR to outliers. The empirical results indicate that the linear models do not fully capture the variability in trip counts and yield relatively modest values. In light of these limitations, more flexible and complex models such as TS models and RF are employed. That is, TS and RF models provide improved predictive performance and are better suited to the complex, nonlinear, and time-dependent patterns observed in bike-sharing demand. It should be noted that this study prioritizes predictive accuracy for cluster-level demand forecasting rather than estimating marginal effects of individual predictors. Accordingly, we do not include a sensitivity analysis with respect to covariates such as temperature, time of day, or the number of active stations in the results. Because these relationships may be nonlinear and some predictors (e.g., station activity/availability) can be influenced by demand and operational decisions, reporting marginal “effects” without a causal framework could be misleading. Future work will add dedicated interpretability analyses (e.g., partial dependence/SHAP and scenario-based evaluations).
4.2. Time Series (TS)
Time series ML applies predictive models to temporally ordered data in order to capture temporal dependence (e.g., autocorrelation and seasonality) and generate forecasts from historical observations and time-related features [39]. The exploratory analysis of trip counts over time indicates that monthly, weekly, and hourly patterns are highly persistent across the four-year period. Figure 12 shows similar trends by month, day of week, and hour of day. To account for these systematic temporal effects and to detrend the series, dummy variables for month, day of week, and hour are included in the model. The TS specification incorporates three lags of the trip count variable. The first lag represents the number of trips in the immediately preceding hour. The 24th lag corresponds to the number of trips in the same hour on the previous day. The 168th lag corresponds to the number of trips in the same hour one week earlier. We include these three lag terms to reflect the dominant temporal regularities in bike-sharing demand. Specifically, the 1 h lag accounts for immediate temporal autocorrelation, reflecting short-term persistence in demand. The 24 h lag captures daily cyclical patterns associated with recurring travel behavior at the same time of day, while the 168 h lag represents weekly seasonality linked to regular weekday–weekend and weekly commuting cycles. This lag structure is widely used in time-series forecasting of transportation demand and offers an efficient and effective way to capture temporal dynamics [13,40]. In addition to these lagged terms and the temporal dummies, the model includes contemporaneous exogenous variables: weather event, temperature, and the active number of stations. Because time and predicted weather conditions are known beforehand, it is not necessary to include lagged values of these variables in the TS model. The resulting model can be summarized by the following general form
Figure 12.
Temporal patterns of trip counts by month, day of week, and hour.
Ten separate departure models and ten separate arrival models are estimated, one pair for each cluster identified by the K-means procedure. Figure 13 and Figure 14 report the in-sample and out-of-sample errors, measured by RMSE, for the departure and arrival models across clusters. The RMSE values are substantially smaller than those obtained from the LR models, and the differences between in-sample and out-of-sample RMSE are relatively modest for each cluster. The out-of-sample validation is based on a rolling-horizon procedure; for each prediction at time t, the model is estimated using all information available up to time . A comparison of R-Square () between the LR and TS models further highlights the improvement in fit. As shown in Table 2, the TS models typically achieve values around 80%, indicating that they capture a significantly larger share of the variation in trip counts than the corresponding LR models.
Figure 13.
RMSE for the departure model across clusters (in-error vs. out-error).
Figure 14.
RMSE for the arrival model across clusters (in-error vs. out-error).
Table 2.
comparison between Linear Regression (LR) and Time Series (TS) models across clusters.
4.3. Random Forest (RF)
RF is a supervised learning algorithm that leverages ensemble techniques for predictive tasks and produces continuous numerical predictions [41]. The method operates by constructing a large number of decision trees during training and using the average of the individual tree predictions as the final output [42]. Three key hyperparameters are tuned in the RF model: ntree, mtry, and nodesize. The parameter ntree denotes the number of trees grown in the ensemble. Given the large size of the dataset, ntree is set to 500 to ensure a sufficiently rich collection of trees for stable predictions. The parameter mtry specifies the number of predictor variables randomly selected for consideration at each split, and nodesize controls the minimum number of observations in a terminal node. Larger values of nodesize generally reduce computation time but may decrease model flexibility. Hyperparameter tuning is conducted with the objective of minimizing the RMSE on the test set. Values of nodesize from 5 to 50 and mtry from 10 to 50 are explored. The combination ntree = 500, mtry = 35, and nodesize = 5 yields the lowest RMSE on the test set and is therefore selected for the final RF specification.
The resulting RMSE values for the two datasets, the “departure” dataset and the “arrival” dataset, are shown in Figure 15 and Figure 16. The orange bars represent RMSE for each cluster in the training set, and the blue bars represent RMSE for each cluster in the test set. The similarity between training and test RMSE across all clusters indicates that the RF models do not exhibit substantial overfitting. Cluster 10 shows noticeably higher RMSE than the other clusters, which is consistent with its status as the central area of the system, where trip volumes are much higher and variability is greater.
Figure 15.
RMSE of training and testing datasets for the from station across clusters for RF model.
Figure 16.
RMSE of training and testing datasets for the end station across clusters for RF model.
5. Model Comparison
Three modeling approaches are employed to predict the number of trips in each cluster: LR, TS, and RF. The corresponding RMSE values for these models are reported in Table 3. For the “departure” dataset, LR exhibits higher RMSE in both the training and test sets, whereas the RMSE values for the TS and RF models are relatively close to each other. A similar pattern is observed for the “arrival” (end station) dataset. These results indicate that the TS and RF models generally provide superior predictive performance compared with the LR model. Visualizations of the test set RMSE for the three models are presented below.
Table 3.
Test RMSE by cluster for departure and arrival datasets across models (LR, RF, TS).
TS and RF exhibit lower errors and stronger predictive performance than LR. Accordingly, trip counts for each cluster are forecast using TS and RF and compared with observed values, as shown in Figure 17 and Figure 18. The TS and RF models each have distinct advantages and limitations. The RF model is well suited for predicting further into the future, as it leverages the ensemble average of historical patterns and is relatively robust to small short-term fluctuations. As a consequence, limited changes in recent observations do not substantially alter the general trend captured by the model. In contrast, the TS model is more sensitive to recent changes, because it explicitly incorporates lagged observations and recent dynamics. This property makes it particularly effective for short-term forecasting, but it constrains its ability to project far into the future without sequentially updating predictions. Producing long-horizon forecasts with a TS model typically requires the incremental generation of future values and therefore more computation time and additional data as new observations become available. From an operational perspective, if the objective is to generate longer-term forecasts under the assumption that demand patterns remain relatively stable, the RF model is an appropriate choice. If the objective is to produce short-term forecasts and to capture local trends or transient changes in demand, a TS model is preferable.
Figure 17.
Predictions using Random Forest (RF) and Time Series (TS) compared with actual trip counts for the from dataset across clusters.
Figure 18.
Predictions using Random Forest (RF) and Time Series (TS) compared with actual trip counts for the end dataset across clusters.
A further analysis examines the net demand at the cluster level using the RF model. As can be seen in Figure 19, the net demand is computed as the difference between the predicted number of arrivals and departures (arrivals minus departures). Negative values indicate clusters where demand exceeds supply, while positive values indicate clusters with relatively greater supply. The results show that two clusters, namely cluster 8 and cluster 10, have negative net demand, implying that the demand in these clusters is higher than the available bicycle supply. Cluster 10, which corresponds to the central area of Chicago, is expected to exhibit higher demand. Clusters with positive net demand, where supply exceeds demand, can be considered potential sources for reallocating bicycles toward high-demand clusters such as clusters 8 and 10.
Figure 19.
Difference between the number of trips in from and end stations across clusters (positive vs. negative).
From an operational perspective, the cluster-based hour-ahead forecasts of departures, arrivals, and net demand can be used to prioritize rebalancing tasks by identifying clusters that are likely to experience bike shortages (negative net demand) or surpluses (positive net demand) in upcoming hours. Operators can use these predictions to schedule vehicle routes, allocate staff, and pre-position bicycles in advance of anticipated peaks, rather than reacting to realized imbalances. Moreover, the comparison of LR, TS, and RF models provides guidance on which modeling approach is more suitable for short-term versus longer-horizon planning, enabling agencies to tailor their forecasting tools to specific operational needs such as routine daily rebalancing, special events, or seasonal adjustments.
Improved hour-ahead cluster-level demand forecasting supports more equitable service delivery by enabling operators to preemptively address bike shortages in underserved peripheral areas, reducing disparities in access across neighborhoods. From a service reliability perspective, accurate predictions of arrivals and departures minimize empty stations and full docks, ensuring consistent availability for users and enhancing trust in the system as a reliable first/last-mile transit connection. Regarding resource allocation, net demand forecasts at the cluster level allow operators to optimize truck routes, staffing schedules, and fleet redistribution, lowering operational costs while maintaining high service levels across the network. These improvements collectively strengthen bike-sharing as a sustainable urban mobility option that complements public transit and reduces reliance on private vehicles.
It should be noted that in our empirical results, weather and calendar/time variables are not only included but also consistently informative: in the LR specification, month/day/hour indicators, weather event, temperature, and the active number of stations are statistically significant in explaining cluster-level trip counts for both arrivals and departures. These findings align with prior bike-sharing studies that model demand using meteorological and calendar drivers and that highlight heterogeneity across time and space [26,27,28]. More importantly, our out-of-sample comparison shows that incorporating temporal dependence and nonlinearities yields substantially better forecasts than a linear benchmark: TS and RF consistently reduce RMSE relative to LR across clusters, with the largest gains in the high-variability central cluster. This pattern supports the broader shared-mobility forecasting literature emphasizing the value of models that capture autocorrelation and flexible predictor–response relationships [24,25]. Finally, by forecasting at a clustered scale, our results directly address the volatility and sparsity issues that limit station-level prediction and provide operationally actionable surplus/deficit signals for rebalancing.
6. Conclusions
This paper develops a spatially explicit demand-forecasting method for cluster-based bike-sharing systems in large urban areas, combining large-scale trip records with weather and temporal information to support operational decision-making. Despite substantial progress in bike-sharing demand modeling, existing studies rarely combine the spatial clustering of stations, explicit treatment of network expansion, and systematic comparison of multiple ML models at an operationally meaningful temporal and spatial resolution. As a result, three ML models—LR, TS, and RF—are used to predict hourly departures and arrivals at the cluster level and compared in terms of out-of-sample performance. The analysis focuses on predicting the number of departures and arrivals of the Divvy bike-share system in Chicago. Stations are grouped into geographically coherent clusters via K-means clustering, and an active station number metric is introduced to accommodate the evolving size of the network. We analyzed multi-year trip records from Chicago’s Divvy bike-sharing system (2014–2017) to characterize network expansion and assess spatial stability over time. We then use the period 1 August 2016–31 December 2017, during which the number of active stations is stable, to conduct our predictive modeling.
The empirical results demonstrate that incorporating spatial clustering and ML methods substantially improves the accuracy and interpretability of demand forecasts for station-based bike-sharing systems. Across all clusters, the TS and RF models consistently outperform LR, particularly in capturing short-term temporal dynamics and nonlinear relationships between predictors and trip volumes. The analysis reveals pronounced spatial heterogeneity in demand; high-activity central clusters exhibit larger variability in trip counts and correspondingly higher prediction errors, whereas peripheral clusters display more stable patterns and lower errors. The clustering framework also exposes systematic differences between departures and arrivals, underscoring the value of modeling these components separately. Importantly, the cluster-based net-demand outputs provide an operator-oriented prediction–decision workflow that supports clear visualization and interpretation of impending surpluses and deficits, enabling proactive and transparent rebalancing decisions. Collectively, these findings show that combining spatial segmentation with flexible predictive models yields robust and operationally meaningful forecasts that can support more effective rebalancing and resource allocation strategies.
The clustering-based framework is particularly beneficial for large station-based bike-sharing systems with hundreds of stations, where individual-station forecasts suffer from high variability and sparse data in peripheral areas, and where operational rebalancing decisions naturally operate at an area-wide rather than a station-specific level. Clustering proves advantageous when (i) the system exhibits spatial heterogeneity in demand patterns, (ii) network expansion creates temporal instability in station-level data, and (iii) the goal is to identify surplus/deficit areas for resource allocation rather than precise dock-level predictions. However, clustering may be unnecessary for smaller systems with fewer stations, dense urban deployments with uniform demand, or scenarios requiring station-specific capacity management, where direct station-level modeling preserves more granular information at lower computational cost.
Future work could extend the framework in four concrete directions. Firstly, rather than modeling departures and arrivals separately, a single net-demand model could directly predict the difference between arrivals and departures at the cluster level, avoiding error accumulation from separate predictions. Secondly, station capacity constraints could be incorporated by augmenting the models with dock availability data and formulating the forecasting problem as a constrained optimization for rebalancing routes. Third, the cluster-based approach could be generalized to dynamic clustering schemes that adapt to seasonal demand shifts or special events, using techniques such as time-varying K-means or spectral clustering to maintain spatial coherence while capturing evolving usage patterns. Fourthly, the station clusters in this study are static, defined by station geography. While this approach provides stable and operationally interpretable spatial units for forecasting, it may not fully capture temporal variations in urban functional zones or seasonal demand shifts. Future work will explore dynamic clustering frameworks—such as time-varying K-means, correlation-based clustering, or event- and season-conditioned partitions—that allow cluster boundaries to evolve over time while maintaining spatial coherence for operational decision-making.
Author Contributions
Conceptualization, D.H., P.Z., J.L., A.M., and B.Z.; methodology, D.H., P.Z., J.L., A.M., and B.Z.; software, D.H. and P.Z.; validation, D.H. and P.Z.; formal analysis, D.H. and P.Z.; data curation, D.H. and P.Z.; writing—original draft preparation, D.H. and P.Z.; writing—review and editing, D.H., P.Z., J.L., A.M., and B.Z.; visualization, D.H. and P.Z.; supervision, B.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available from the corresponding author upon reasonable request.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Hosseinpanahi, D.; Subedi, P.; Guo, J.; Zou, B. Assessing Urban Transportation Equity: A Chicago City Case Study in Ride-Sourcing and Public Transit. In Proceedings of the International Conference on Transportation and Development 2025, Glendale, AZ, USA, 8–11 June 2025; pp. 961–972. [Google Scholar]
- An, Z.; Mullen, C.; Heinen, E. Disruptions as catalysts to sustainability? Long-term responses in bike-sharing demand to disruptions during the pandemic. Transp. Res. Part A Policy Pract. 2025, 199, 104603. [Google Scholar] [CrossRef] [Scilit]
- Střecha, J.; Anker, B.; Romanelli, M.; Moustakas, L. The Impact of Mandatory Helmet Laws on Urban Bike-Sharing and Sustainable Mobility in Prague. Future Transp. 2025, 5, 33. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Yu, J.; Zhao, J.; Schneider, R.J. Bike-sharing impacts on bus ridership: Unraveling the rail proximity effect. Transp. Res. Part A Policy Pract. 2025, 192, 104373. [Google Scholar] [CrossRef] [Scilit]
- Jobe, J.; Griffin, G.P. Bike share responses to COVID-19. Transp. Res. Interdiscip. Perspect. 2021, 10, 100353. [Google Scholar] [CrossRef] [Scilit]
- Hu, S.; Xiong, C.; Liu, Z.; Zhang, L. Examining spatiotemporal changing patterns of bike-sharing usage during COVID-19 pandemic. J. Transp. Geogr. 2021, 91, 102997. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ren, Q.; Li, Z. Demand Forecasting of Bike-Sharing Based on Isolation Forest and Bayesian Optimization Bidirectional Long Short-Term Memory Model. Transp. Res. Rec. 2025, 2679, 03611981251333714. [Google Scholar] [CrossRef] [Scilit]
- Gammelli, D.; Wang, Y.; Prak, D.; Rodrigues, F.; Minner, S.; Pereira, F.C. Predictive and prescriptive performance of bike-sharing demand forecasts for inventory management. Transp. Res. Part C Emerg. Technol. 2022, 138, 103571. [Google Scholar] [CrossRef] [Scilit]
- Zhao, S.; Zhao, K.; Xia, Y.; Jia, W. Hyper-clustering enhanced spatio-temporal deep learning for traffic and demand prediction in bike-sharing systems. Inf. Sci. 2022, 612, 626–637. [Google Scholar] [CrossRef] [Scilit]
- Kaufman, S.M.; Gordon-Koven, L.; Levenson, N.; Moss, M.L. Citi Bike: The First Two Years; The Rudin Center for Transportation Policy and Management: New York, NY, USA, 2015. [Google Scholar]
- Contardo, C.; Morency, C.; Rousseau, L.-M. Balancing a Dynamic Public Bike-Sharing System; Cirrelt: Montreal, QC, Canada, 2012; Volume 4. [Google Scholar]
- Capital Bikeshare. Capital Bikeshare Member Survey Report; Capital Bikeshare: Washington, DC, USA, 2013; Volume 819, p. 820. [Google Scholar]
- Ma, C.; Liu, T. Demand forecasting of shared bicycles based on combined deep learning models. Phys. A Stat. Mech. Its Appl. 2024, 635, 129492. [Google Scholar] [CrossRef] [Scilit]
- Singla, A.; Santoni, M.; Bart’ok, G.; Mukerji, P.; Meenen, M.; Krause, A. Incentivizing users for balancing bike sharing systems. In Proceedings of the AAAI Conference on Artificial Intelligence, Santa Cruz, CA, USA, 14–18 November 2015; Volume 29. [Google Scholar]
- Kaltenbrunner, A.; Meza, R.; Grivolla, J.; Codina, J.; Banchs, R. Urban cycles and mobility patterns: Exploring and predicting trends in a bicycle-based public transport system. Pervasive Mob. Comput. 2010, 6, 455–466. [Google Scholar] [CrossRef] [Scilit]
- Yoon, J.W.; Pinelli, F.; Calabrese, F. Cityride: A predictive bike sharing journey advisor. In Proceedings of the 2012 IEEE 13th International Conference on Mobile Data Management, Bengaluru, India, 23–26 July 2012; pp. 306–311. [Google Scholar]
- Majidi, M.Z.; Wang, T.; Souleyrette, R. From Prediction to Prevention: Identifying Actionable Crash Factors Through ML and Narrative-Based Sensitivity Testing. Future Transp. 2025, 5, 190. [Google Scholar] [CrossRef] [Scilit]
- Nagy, A.M.; Simon, V. Survey on traffic prediction in smart cities. Pervasive Mob. Comput. 2018, 50, 148–163. [Google Scholar] [CrossRef] [Scilit]
- Xu, D.-W.; Wang, Y.-D.; Jia, L.-M.; Qin, Y.; Dong, H.-H. Real-time road traffic state prediction based on ARIMA and Kalman filter. Front. Inf. Technol. Electron. Eng. 2017, 18, 287–302. [Google Scholar] [CrossRef] [Scilit]
- Avuglah, R.K.; Adu-Poku, K.A.; Harris, E. Application of ARIMA models to road traffic accident cases in Ghana. Int. J. Stat. Appl. 2014, 4, 233–239. [Google Scholar]
- Billings, D.; Yang, J.-S. Application of the ARIMA models to urban roadway travel time prediction—A case study. In Proceedings of the 2006 IEEE International Conference on Systems, Man and Cybernetics, Taipei, Taiwan, 8–11 October 2006; Volume 3, pp. 2529–2534. [Google Scholar]
- Kumar, K.; Jain, V.K. Autoregressive integrated moving averages (ARIMA) modeling of a traffic noise time series. Appl. Acoust. 1999, 58, 283–294. [Google Scholar] [CrossRef] [Scilit]
- van Lint, H.; Djukic, T. Applications of Kalman filtering in traffic management and control. In New Directions in Informatics, Optimization, Logistics, and Production; INFORMS: Hanover, MD, USA, 2012; pp. 59–91. [Google Scholar]
- Zhang, Y.; Liu, Y. Traffic forecasting using least squares support vector machines. Transportmetrica 2009, 5, 193–213. [Google Scholar] [CrossRef] [Scilit]
- Hou, Y.; Edara, P.; Chang, Y. Road network state estimation using random forest ensemble learning. In Proceedings of the 2017 IEEE 20th International Conference on Intelligent Transportation Systems (ITSC), Yokohama, Japan, 16–19 October 2017; pp. 1–6. [Google Scholar]
- Singhvi, D.; Singhvi, S.; Frazier, P.I.; Henderson, S.G.; O’Mahony, E.; Shmoys, D.B.; Woodard, D.B. Predicting Bike Usage for New York City’s Bike Sharing System. In Proceedings of the AAAI Workshop: Computational Sustainability, Austin, TX, USA, 25–26 January 2015; pp. 1–5. [Google Scholar]
- Kim, K. Investigation on the effects of weather and calendar events on bike-sharing according to the trip patterns of bike rentals of stations. J. Transp. Geogr. 2018, 66, 309–320. [Google Scholar] [CrossRef] [Scilit]
- Hyland, M.; Hong, Z.; de Farias Pinto, H.K.R.; Chen, Y. Hybrid cluster-regression approach to model bike-sharing station usage. Transp. Res. Part A Policy Pract. 2018, 115, 71–89. [Google Scholar] [CrossRef] [Scilit]
- Bao, J.; Xu, C.; Liu, P.; Wang, W. Exploring bikesharing travel patterns and trip purposes using smart card data and online point of interests. Netw. Spat. Econ. 2017, 17, 1231–1253. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Zheng, Y.; Zhang, H.; Chen, L. Traffic prediction in a bike-sharing system. In Proceedings of the 23rd SIGSPATIAL International Conference on Advances in Geographic Information Systems, Seattle, WA, USA, 3–6 November 2015; pp. 1–10. [Google Scholar]
- Chen, L.; Zhang, D.; Wang, L.; Yang, D.; Ma, X.; Li, S.; Wu, Z.; Pan, G.; Nguyen, T.-M.-T.; Jakubowicz, J. Dynamic cluster-based over-demand prediction in bike sharing systems. In Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing, Heidelberg, Germany, 12–16 September 2016; pp. 841–852. [Google Scholar]
- Zhou, X. Understanding spatiotemporal patterns of biking behavior by analyzing massive bike sharing data in Chicago. PLoS ONE 2015, 10, e0137922. [Google Scholar] [CrossRef] [Scilit]
- Yingwurenjian. Chicago Divvy Bicycle Sharing Data. Kaggle. 2020. Available online: https://www.kaggle.com/yingwurenjian/chicago-divvy-bicycle-sharing-data (accessed on 1 January 2026).
- Weather Underground. Weather Data and Forecasting Services. Weather Underground. 2025. Available online: https://www.wunderground.com/ (accessed on 1 January 2020).
- Babapourdijojin, M.; Corazza, M.V.; Gentile, G. Systematic analysis of commuting behavior in Italy using K-means clustering and spatial analysis: Towards inclusive and sustainable urban transport solutions. Future Transp. 2024, 4, 1430–1456. [Google Scholar] [CrossRef] [Scilit]
- Nourbakhsh, A.; Jadidi, M.; Shahriari, K. Clustering bike sharing stations using Quantum Machine Learning: A case study of Toronto, Canada. Transp. Res. Interdiscip. Perspect. 2024, 27, 101201. [Google Scholar] [CrossRef] [Scilit]
- Su, X.; Yan, X.; Tsai, C.-L. Linear regression. Wiley Interdiscip. Rev. Comput. Stat. 2012, 4, 275–294. [Google Scholar] [CrossRef] [Scilit]
- Maulud, D.; Abdulazeez, A.M. A review on linear regression comprehensive in machine learning. J. Appl. Sci. Technol. Trends 2020, 1, 140–147. [Google Scholar] [CrossRef] [Scilit]
- Masini, R.P.; Medeiros, M.C.; Mendes, E.F. Machine learning advances for time series forecasting. J. Econ. Surv. 2023, 37, 76–111. [Google Scholar] [CrossRef] [Scilit]
- Dickens, C.; Miler, A. Online Collective Demand Forecasting for Bike Sharing Services. In Proceedings of the Hawaii International Conference on System Sciences (HICSS), Maui, HI, USA, 3–6 January 2023. [Google Scholar]
- Altman, N.; Krzywinski, M. Ensemble methods: Bagging and random forests. Nat. Methods 2017, 14, 933–935. [Google Scholar] [CrossRef] [Scilit]
- Rigatti, S.J. Random forest. J. Insur. Med. 2017, 47, 31–39. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. 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.


















