Info
This question is closed. Reopen it to edit or answer.
Why the "Stateful Classify" block at simulink is predict differently than the "minibatchpredict" and "predict"command on matlab command window
11 views (last 30 days)
Show older comments
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.
2 Comments
Walter Roberson
on 29 Sep 2025 at 16:56
still duplicate. Reopening duplicate questions just wastes everyone's time.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!