LSTM identification and modeling

7 vues (au cours des 30 derniers jours)
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras le 23 Sep 2024
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.

Réponse acceptée

praguna manvi
praguna manvi le 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 commentaires
Jesus Mª Juarez Ferreras
Jesus Mª Juarez Ferreras le 30 Sep 2024
Thank you
Jesus Mª Juarez Ferreras
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.

Connectez-vous pour commenter.

Plus de réponses (1)

Jesus Mª Juarez Ferreras
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.

Catégories

En savoir plus sur Propulsion and Power Systems dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by