ecasting-with-UORO-RTRL-LMS-and-linear-regression

所属分类:人工智能/神经网络/深度学习
开发工具:matlab
文件大小:742KB
下载次数:1
上传日期:2022-11-21 06:24:18
上 传 者sh-1993
说明:  使用UORO RTRL LMS和线性回归进行时间序列预测,使用实时递归训练的递归神经网络(RNN)预测多维时间序列数据...
(Prediction of multidimensional time-series data using a recurrent neural network (RNN) trained by real-time recurrent learning (RTRL), unbiased online recurrent optimization (UORO), least mean squares (LMS), or multivariate linear regression. The optimal hyper-parameters are selected using grid search with parallel processing.)

文件列表:
1. Input time series sequences (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 1 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 1\data.mat (26233, 2022-11-21)
1. Input time series sequences\Ext markers seq 1\pred_par.xlsx (10217, 2022-11-21)
1. Input time series sequences\Ext markers seq 2 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 2\data.mat (15081, 2022-11-21)
1. Input time series sequences\Ext markers seq 2\pred_par.xlsx (9949, 2022-11-21)
1. Input time series sequences\Ext markers seq 3 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 3\data.mat (16186, 2022-11-21)
1. Input time series sequences\Ext markers seq 3\pred_par.xlsx (9954, 2022-11-21)
1. Input time series sequences\Ext markers seq 4 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 4\data.mat (18938, 2022-11-21)
1. Input time series sequences\Ext markers seq 4\pred_par.xlsx (10065, 2022-11-21)
1. Input time series sequences\Ext markers seq 5 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 5\data.mat (13284, 2022-11-21)
1. Input time series sequences\Ext markers seq 5\pred_par.xlsx (10075, 2022-11-21)
1. Input time series sequences\Ext markers seq 6 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 6\data.mat (11449, 2022-11-21)
1. Input time series sequences\Ext markers seq 6\pred_par.xlsx (9947, 2022-11-21)
1. Input time series sequences\Ext markers seq 7 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 7\data.mat (11779, 2022-11-21)
1. Input time series sequences\Ext markers seq 7\pred_par.xlsx (9941, 2022-11-21)
1. Input time series sequences\Ext markers seq 8 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 8\data.mat (41800, 2022-11-21)
1. Input time series sequences\Ext markers seq 8\pred_par.xlsx (9955, 2022-11-21)
1. Input time series sequences\Ext markers seq 9 (0, 2022-11-21)
1. Input time series sequences\Ext markers seq 9\data.mat (38467, 2022-11-21)
1. Input time series sequences\Ext markers seq 9\pred_par.xlsx (10070, 2022-11-21)
LICENSE (1519, 2022-11-21)
Original data (0, 2022-11-21)
Original data\201205101519-LAC-1-T-222-6.csv (62417, 2022-11-21)
Original data\201205101519-UAC-1-T-222-6.csv (62559, 2022-11-21)
Original data\201205101519-UCC-1-T-222-6.csv (62169, 2022-11-21)
Original data\201205101522-LAC-1-N-138-6.csv (38036, 2022-11-21)
Original data\201205101522-UAC-1-N-138-6.csv (38185, 2022-11-21)
Original data\201205101522-UCC-1-N-138-6.csv (38259, 2022-11-21)
Original data\201205101534-LAC-1-NO-130-6.csv (35607, 2022-11-21)
Original data\201205101534-UAC-1-NO-130-6.csv (35707, 2022-11-21)
Original data\201205101534-UCC-1-NO-130-6.csv (36119, 2022-11-21)
... ...

This program predicts multidimensional time-series data using a recurrent neural network (RNN) trained by real-time recurrent learning (RTRL), unbiased online recurrent optimization (UORO), least mean squares (LMS), or multivariate linear regression. The figure below gives an example of prediction 2.0s in advance with UORO (the sampling rate is 10Hz). ![alt text](https://github.com/pohl-michel/time-series-forecasting-with-UORO-RTRL-LMS-and-linear-regression/blob/master/prediction_UORO.png "prediction with UORO for sequence 4 and a horizon of 2.0s") This code supports the claims in the following research article: Michel Pohl, Mitsuru Uesaka, Hiroyuki Takahashi, Kazuyuki Demachi, Ritu Bhusal Chhatkuli, "Prediction of the Position of External Markers Using a Recurrent Neural Network Trained With Unbiased Online Recurrent Optimization for Safe Lung Cancer Radiotherapy", Computer Methods and Programs in Biomedicine (2022): 106908. You can access it with the following links: - https://doi.org/10.1016/j.cmpb.2022.106908 (journal version with restricted access) - https://doi.org/10.48550/arXiv.2106.01100 (accepted manuscript version, openly available) Please consider citing our article if you use this code in your research. Also, please do not hesitate to read my blog article summarizing this research and share it or leave a comment if you are interested: - https://medium.com/towards-data-science/forecasting-respiratory-motion-using-online-learning-of-rnns-for-safe-radiotherapy-bdf4947ad22f (Medium) - https://pohl-michel.github.io/blog/articles/predicting-respiratory-motion-online-learning-rnn/article.html (personal blog) The data provided in the directories "1. Input time series sequences" and "Original data" consists of the three-dimensional position of external markers placed on the chest and abdomen of healthy individuals breathing during intervals from 73s to 222s. The markers move because of the respiratory motion, and their position is sampled at approximately 10Hz. The same data was used and described in the following article: Krilavicius, Tomas, et al. “Predicting Respiratory Motion for Real-Time Tumour Tracking in Radiotherapy.” ArXiv:1508.00749 [Physics], Aug. 2015. arXiv.org, https://doi.org/10.48550/arXiv.1508.00749. Our implementation of RTRL is based on chapter 15 ("Dynamically Driven Recurrent Networks") of the following book : Haykin, Simon S. "Neural networks and learning machines/Simon Haykin." (2009). Three scripts can be executed : 1) one corresponds to the file "prediction_main.m" 2) the second corresponds to the file "hyperparameter_optimization_main.m". 3) the third corresponds to the file "convert_csv_to_mat.m" "prediction_main.m" performs prediction for a given prediction method and set of hyper-parameters, which can be selected manually in the files "pred_par.xlsx" and "load_pred_par.m". The results are saved in the folders "2. Prediction results (figures)", "3. Prediction results (images)", and "5. Log txt files". The log files contain information relative to the numerical accuracy of the prediction. The behavior of that main function can be set manually in the file "load_behavior_parameters.m". The time-series sequences used can be selected in the file "load_path_parameters.m", by commenting or uncommenting the corresponding text strings. Parameters relative to display can be selected manually in the file "disp_par.xlsx". "hyperparameter_optimization_main.m" performs grid search on the cross-validation set to determine the optimal hyper-parameters for each sequence and provide information about the influence of each hyper-parameter on the prediction accuracy. The set of hyper-parameters used can be selected manually in the file "load_hyperpar_cv_info.m". "hyperparameter_optimization_main.m" uses parallel computations to make grid search faster. Therefore, the parallel processing toolbox of Matlab is normally required to use "hyperparameter_optimization_main.m". It can also be used without that toolbox by replacing all the `parfor` instructions by `for` instructions, at the expense of a higher processing time. One can also use GPU computing to try to make the RNN calculations faster by setting the variable `beh_par.GPU_COMPUTING` to `true`. In that case, the parallel processing toolbox of Matlab is required. Calculations are faster with the GPU when using RTRL with a relatively high number of hidden units. "convert_csv_to_mat.m" converts the original csv data from the article by Krilavicius et al. in the "Original data" folder into the "data.mat" files in the "Input time series sequences" folder that "prediction_main.m" and "hyperparameter_optimization_main.m" can use. [![PWC](https://github.com/pohl-michel/time-series-forecasting-with-UORO-RTRL-LMS-and-linear-regression/blob/master/https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/prediction-of-the-position-of-external/multivariate-time-series-forecasting-on-3)](https://github.com/pohl-michel/time-series-forecasting-with-UORO-RTRL-LMS-and-linear-regression/blob/master/https://paperswithcode.com/sota/multivariate-time-series-forecasting-on-3?p=prediction-of-the-position-of-external)

近期下载者

相关文件


收藏者