Can a model from the machine learning app be turned into an FMU?

8 ビュー (過去 30 日間)
Damon Delorenzis
Damon Delorenzis 2020 年 9 月 9 日
コメント済み: Hiro Yoshino 2022 年 9 月 29 日
I'm starting to learn to use the machine learning app and wondering if it's possible to turn a model created by that app into a FMU for use in ADAMS. Anyone have experience with this?

採用された回答

Hiro Yoshino
Hiro Yoshino 2020 年 9 月 9 日
I do not have any experiences but it sounds quite feasible.
Step1. train ML model
Step2. call the model from Simulink
Step3. Simulink --> FMU
You should note that not all of the ML models are compatible with Simulink. Looks like SVM can be used in Simulink.
  3 件のコメント
sam l
sam l 2022 年 9 月 28 日
Hello I am working on similar project to create FMU from ML code.
But since the Mdl I created was Neural network - NARX and LSTM . How do I use above to export as FMU
Hiro Yoshino
Hiro Yoshino 2022 年 9 月 29 日
@sam l - May I know your MATLAB version?
As the error message said, the saved model is incompatible with the saveLearnerForCoder function.
The object you created is "network object" from shallow network. (https://www.mathworks.com/help/deeplearning/ref/network.train.html)
The simulink block that takes a LSTM neural network model is Stateful predict block. Unfortunately this does not take the one you created. You should trian LSTM models as seriesnetwork, dagnetwork, dlnetwork.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by