Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Why the "Stateful Classify" block at simulink is predict differently than the "minibatchpredict" and "predict"command on matlab command window

11 ビュー (過去 30 日間)
Bahadir
Bahadir 2025 年 9 月 25 日 18:47
閉鎖済み: Walter Roberson 2025 年 9 月 29 日 16:56
I have trained a LSTM network for fault detecting and load it in Simulink blocks "stateful classify".
Although I use all time same data and network, Why the "Stateful Classify" block at simulink is predict wrongly than the "minibatchpredict" and "predict" command on matlab command window?
when I use "minibatchpredict" or "predict" command at matlab command window, The result is very correct (%99)
scores = minibatchpredict(net,XTest);
and
YPred = predict(net, XTest);
But when I use Stateful Classify at simulink, The result of Stateful Classify (ypred) are very wrong.

回答 (0 件)

この質問は閉じられています。

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by