基於複合型深度學習模型之共享自行車站點自行車數量預測
Predicting station-level shared bike availability using hybrid deep learning models
摘要
隨著Youbike2.0共享單車系統於全臺使用量成長迅速,使用者因此更常遇到無車可借與無站可還的問題。同時營運者也需要一個更好的站點單車供應量的預測方法。是以本研究之目的係以臺北市的共享單車系統為例,以複合型深度學習模型預測經正規化後的共享自行車站點之自行車供給數量。以協助營運者後續調度並改善使用者遇到無車可借與無站可還的問題。
複合型深度學習模型,即結合兩個或是以上的機器學習模型以進行預測。本研究會利用長短期記憶(Long Short Term Memory,簡稱LSTM)、多變量長短期記憶(multivariate LSTM,簡稱mtvLSTM)、模糊c均值(Fuzzy-C-means,簡稱FCM) + mtvLSTM、動態時間扭曲(Dynamic Time Warping,簡稱DTW) + mtvLSTM、模糊時間序列結合長短期記憶,即Fuzzy Time series LSTM,簡稱FTS-LSTM)、模糊時間序列結合多變量長短期記憶,即Fuzzy Time Series-multivariate LSTM(FTS-mtvLSTM)共六種深度學習模型。其中FCM + mtvLSTM是考慮以FCM對站點分群,是以結合FCM分群演算法與mtvLSTM。DTW + mtv LSTM是考慮DTW對時間序列分群,所以結合了DTW分群演算法與mtvLSTM。FTS- multivariate LSTM與FTS- mtvLSTM則是以FCM分別結合LSTM與multivariate LSTM。最後研究結果,單日預測表現與平日單周預測誤差最低的是FTS-LSTM模型。其預測誤差分別是0.0012,0.0035與0.0023。而在假日預測表現最佳的則是LSTM模型,其預測誤差是0.0022。本研究採用了多個深度學習模型,分別對單日、平日與假日時段的臺北市Youbike 2.0站點可用單車量進行預測並比較其預測效果,並發現結合模糊時間序列(Fuzzy Time Series)與LSTM的模型預測表現最好。並期待本研究未來可以協助營運者更有效率調度單車,以滿足更多使用者需求。
本研究的貢獻在於提供一個結合模糊時間序列的預測模型可以準確預測單日、平日單周的共享單車站點單車供應量,而假日時期的共享單車站點供應量則更適合使用LSTM模型預測。
複合型深度學習模型,即結合兩個或是以上的機器學習模型以進行預測。本研究會利用長短期記憶(Long Short Term Memory,簡稱LSTM)、多變量長短期記憶(multivariate LSTM,簡稱mtvLSTM)、模糊c均值(Fuzzy-C-means,簡稱FCM) + mtvLSTM、動態時間扭曲(Dynamic Time Warping,簡稱DTW) + mtvLSTM、模糊時間序列結合長短期記憶,即Fuzzy Time series LSTM,簡稱FTS-LSTM)、模糊時間序列結合多變量長短期記憶,即Fuzzy Time Series-multivariate LSTM(FTS-mtvLSTM)共六種深度學習模型。其中FCM + mtvLSTM是考慮以FCM對站點分群,是以結合FCM分群演算法與mtvLSTM。DTW + mtv LSTM是考慮DTW對時間序列分群,所以結合了DTW分群演算法與mtvLSTM。FTS- multivariate LSTM與FTS- mtvLSTM則是以FCM分別結合LSTM與multivariate LSTM。最後研究結果,單日預測表現與平日單周預測誤差最低的是FTS-LSTM模型。其預測誤差分別是0.0012,0.0035與0.0023。而在假日預測表現最佳的則是LSTM模型,其預測誤差是0.0022。本研究採用了多個深度學習模型,分別對單日、平日與假日時段的臺北市Youbike 2.0站點可用單車量進行預測並比較其預測效果,並發現結合模糊時間序列(Fuzzy Time Series)與LSTM的模型預測表現最好。並期待本研究未來可以協助營運者更有效率調度單車,以滿足更多使用者需求。
本研究的貢獻在於提供一個結合模糊時間序列的預測模型可以準確預測單日、平日單周的共享單車站點單車供應量,而假日時期的共享單車站點供應量則更適合使用LSTM模型預測。
With the rapid growth of the Youbike 2.0 bike sharing system across Taiwan, users are more often faced with the problem of having no bikes to borrow and no stops to return them to. At the same time, operators also need a better method to predict the supply of bicycles at stations. Therefore, the objective of this study is to predict the supply of bicycles at regularized bike-sharing stations using a composite deep learning model based on the bike-sharing system in Taipei City. The model can help the operator to adjust and improve the problem of no bikes for borrowing and no stations for returning.
Composite deep learning models, i.e., combining two or more machine learning models to make predictions. In this study, we utilize Long Short Term Memory (LSTM), multivariate LSTM (mtvLSTM), Fuzzy-C-means (FCM) + multivariate mtvLSTM, Dynamic Time Warping (DTW), and Fuzzy-C-means (FCM) + mtvLSTM. (DTW) + mtvmultivariate LSTM, Fuzzy Time series LSTM (FTS-LSTM), Fuzzy Time series LSTM (FTS-LSTM), Fuzzy Time series LSTM (FTS-Multivariate LSTM), Fuzzy Time series LSTM (FTS-Multivariate LSTM), and Fuzzy Time series- multivariate LSTM (FTS-mtvmultivariate LSTM). Among them, FCM + mtvmultivariate LSTM considers FCM for station clustering and combines FCM clustering algorithm and mtvmultivariate LSTM. DTW + multivariate mtv LSTM considers DTW for time series clustering and combines DTW clustering algorithm and mtvmultivariate LSTM. The FTS-multivariate LSTM and FTS-multivariate mtvLSTM combine the LSTM and multivariate LSTM with FCM, respectively.In the final results, the FTS-LSTM model has the lowest error between the one-day forecast and the one-week weekly weekly weekly weekly forecast. model. The lowest prediction error for one-day prediction and weekly prediction is the FTS-LSTM model with 0.0012, 0.0035, and 0.0023, respectively, and the best prediction error for holiday prediction is the LSTM model with 0.0022. In this study, we used several deep learning models to predict the number of bicycles available in Taipei Youbike 2.0 stations on one day, weekdays, and holidays, respectively, and compared the prediction results, and we found that the combination of the Fuzzy Time Series (FTS) and Multivariate LSTM is the most effective. The model combining Fuzzy Time Series and LSTM was found to be the best predictor. It is expected that this study can help the operators to dispatch bicycles more efficiently in the future in order to satisfy the demand of more users.
The contribution of this study is to provide a combined fuzzy time series prediction model that can accurately predict the supply of bicycles at bike-sharing stations on a single day, weekday and weekly basis, while the supply of bicycles at bike-sharing stations during the holiday season is more suitable to be predicted by using the LSTM model.
Composite deep learning models, i.e., combining two or more machine learning models to make predictions. In this study, we utilize Long Short Term Memory (LSTM), multivariate LSTM (mtvLSTM), Fuzzy-C-means (FCM) + multivariate mtvLSTM, Dynamic Time Warping (DTW), and Fuzzy-C-means (FCM) + mtvLSTM. (DTW) + mtvmultivariate LSTM, Fuzzy Time series LSTM (FTS-LSTM), Fuzzy Time series LSTM (FTS-LSTM), Fuzzy Time series LSTM (FTS-Multivariate LSTM), Fuzzy Time series LSTM (FTS-Multivariate LSTM), and Fuzzy Time series- multivariate LSTM (FTS-mtvmultivariate LSTM). Among them, FCM + mtvmultivariate LSTM considers FCM for station clustering and combines FCM clustering algorithm and mtvmultivariate LSTM. DTW + multivariate mtv LSTM considers DTW for time series clustering and combines DTW clustering algorithm and mtvmultivariate LSTM. The FTS-multivariate LSTM and FTS-multivariate mtvLSTM combine the LSTM and multivariate LSTM with FCM, respectively.In the final results, the FTS-LSTM model has the lowest error between the one-day forecast and the one-week weekly weekly weekly weekly forecast. model. The lowest prediction error for one-day prediction and weekly prediction is the FTS-LSTM model with 0.0012, 0.0035, and 0.0023, respectively, and the best prediction error for holiday prediction is the LSTM model with 0.0022. In this study, we used several deep learning models to predict the number of bicycles available in Taipei Youbike 2.0 stations on one day, weekdays, and holidays, respectively, and compared the prediction results, and we found that the combination of the Fuzzy Time Series (FTS) and Multivariate LSTM is the most effective. The model combining Fuzzy Time Series and LSTM was found to be the best predictor. It is expected that this study can help the operators to dispatch bicycles more efficiently in the future in order to satisfy the demand of more users.
The contribution of this study is to provide a combined fuzzy time series prediction model that can accurately predict the supply of bicycles at bike-sharing stations on a single day, weekday and weekly basis, while the supply of bicycles at bike-sharing stations during the holiday season is more suitable to be predicted by using the LSTM model.