Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

11 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Questa domanda è chiusa.

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by