Borrar filtros
Borrar filtros

matファイルで学習​させたLSTMをSi​mulink で使用したい

1 visualización (últimos 30 días)
Ryotaro Torikai
Ryotaro Torikai el 13 de Oct. de 2023
Respondida: Toshinobu Shintai el 13 de Oct. de 2023
<質問>
学習させたLSTM(trainnetwork)を用いて時系列データの予測をSimulinkで行いたいと考えています。
Simulinkを用いたLSTMの時系列データの予測手法について知ってる方がいれば教えていただきたいです。
<現状>
以下の層を持つLSTMを学習させました。
layers = [ ...
sequenceInputLayer(inputSize)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(numResponses)
regressionLayer];
options = trainingOptions("rmsprop", ...
'InitialLearnRate',0.001, ... % 0.001 to 0.01
MaxEpochs=10, ... %% ideal 100
SequencePaddingDirection="left", ...
Shuffle="once", ...
Plots="training-progress", ...
Verbose=0);
InputSizeは2、
numResponsesは1です。
私のMATLABのバージョンはR2023bです。
よろしくお願いいたします。

Respuesta aceptada

Toshinobu Shintai
Toshinobu Shintai el 13 de Oct. de 2023
Deep Learning Toolboxの「Stateful Predict」というブロックを使うと、学習させたLSTMをSimulinkで使うことができるようになります。

Más respuestas (0)

Categorías

Más información sobre 時系列、シーケンス、およびテキストを使用した深層学習 en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!