How to train LSTM

37 ビュー (過去 30 日間)
Mehrdad Ganji
Mehrdad Ganji 2019 年 6 月 22 日
コメント済み: NGR MNFD 2021 年 7 月 4 日
Hi, Im trying to train a LSTM neural network with sensors data that is used in realtime applications. But I cant write a piece of code for training the Network and put in in my main code. Would you please help to solve this problem?

採用された回答

Kojiro Saito
Kojiro Saito 2019 年 6 月 24 日
From R2017b, lstmLayer was introduced. In order to train the LSTM network, trainNetwork function will be used.
In documentation, there are a couple of examples of LSTM for time series data and it's better to start with these examples.
  1 件のコメント
NGR MNFD
NGR MNFD 2021 年 7 月 4 日
hello dear.Thank you for your help. But boldly, I want to run this code inside MATLAB 2014. What command or function should I add to it? Because my laptop model is low and hangs by installing a higher version.

サインインしてコメントする。

その他の回答 (1 件)

NGR MNFD
NGR MNFD 2021 年 7 月 2 日
Hello . I hope you have a good day. I sent the article to your service. I implemented the coding part in the MATLAB software, but to implement my network, two lines of setlayers, training MATLAB 2014 give me an error. What other function do you think I should replace? Do you think the codes I wrote are correct?( I used gait-in-neurodegenerative-disease-database in physionet website.) Thanks a lot

カテゴリ

Find more on Deep Learning with Time Series and Sequence Data in Help Center and File Exchange

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by