LSTM identification and modeling

12 Ansichten (letzte 30 Tage)
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras am 23 Sep. 2024
Kommentiert: Jesus Mª Juarez Ferreras am 5 Nov. 2024 um 10:48
Hello, I have a plant identified in LSTM. I have created normalized datasets, made the network architecture, (numHiddenUnits, numHiddenUnits, layers, maxEpochs, miniBatchSize, options...) Now, based on the weights of the matrices W, R and b of the trained model, I want to make the mathematical model of this plant. State space or its transfer function(s). How would this be done?
Thank you.
Hola,
tengo una planta identificada en LSTM. He creado dataset normalizados, realizado la arquitectura de la red, (numHiddenUnits, numHiddenUnits, layers,maxEpochs, miniBatchSize, options...)
Ahora, a partir de los pesos de las matrices W, R y b del modelo entrenado quiero hacer el modelo matemático de esta planta. Espacio de estados o su(s) funcione(s) de transferencia. ¿Cómo se haría esto?
Gracias.

Akzeptierte Antwort

praguna manvi
praguna manvi am 30 Sep. 2024
I understand that you are attempting to estimate a state-space model from a trained LSTM model. This task can be challenging for direct translation since LSTMs are complex, inherently nonlinear, and dynamic. They typically do not conform to simple empirical equations that represent the learned relationships.
However, it is possible to capture the behavior of the LSTM model and estimate an approximate “ssm” model using the “estimate” function, as detailed in this documentation:
Hope this helps!
  2 Kommentare
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras am 30 Sep. 2024
Thank you
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras am 5 Nov. 2024 um 10:48
Good morning, if I have a LSTM network trained like this:
[net,info] = trainnet(XTrain,TTrain,layers, “mse”,options);
What data do I put in the following formula?
EstMdl = estimate(Mdl,Y,params0)
Thank you.
Buenos días, si tengo una red LSTM entrenada así:
[net,info] = trainnet(XTrain,TTrain,layers,"mse",options);
¿Qué datos pongo en la siguiente fórmula?
EstMdl = estimate(Mdl,Y,params0)
Gracias.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras am 5 Nov. 2024 um 10:48
Good morning, if I have a LSTM network trained like this:
[net,info] = trainnet(XTrain,TTrain,layers, “mse”,options);
What data do I put in the following formula?
EstMdl = estimate(Mdl,Y,params0)
Thank you.
Buenos días, si tengo una red LSTM entrenada así:
[net,info] = trainnet(XTrain,TTrain,layers,"mse",options);
¿Qué datos pongo en la siguiente fórmula?
EstMdl = estimate(Mdl,Y,params0)
Gracias.

Kategorien

Mehr zu Matrix Computations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by