Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

11 vues (au cours des 30 derniers jours)
Bahadir
Bahadir le 25 Sep 2025 à 18:47
Clôturé : Walter Roberson le 29 Sep 2025 à 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.

Réponses (0)

Cette question est clôturée.

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by