Hello,
I assume here you are refering to the validation result in X-CUBE-AI interface in STM32CubeMX.
While doing the validation, could you verify if you have something like these rows in the textual output:
Computing the metrics...
Cross accuracy report #1 (reference vs C-model)
----------------------------------------------------------------------------------------------------
notes: - the output of the reference model is used as ground truth/reference value
- 10 samples (5 items per sample)
acc=100.00%, rmse=0.000000153, mae=0.000000065, l2r=0.000000396, nse=1.000, cos=1.000
5 classes (10 samples)
---------------------------------
C0 0 . . . .
C1 . 0 . . .
C2 . . 0 . .
C3 . . . 8 .
C4 . . . . 2
Evaluation report (summary)
-------------------------------------------------------------------------------------------------------------------------------------------
Output acc rmse mae l2r mean std nse cos tensor
-------------------------------------------------------------------------------------------------------------------------------------------
X-cross #1 100.00% 0.0000002 0.0000001 0.0000004 -0.0000000 0.0000002 1.0000000 1.0000000 activation_3, (5,), m_id=[5]
-------------------------------------------------------------------------------------------------------------------------------------------
acc : Classification accuracy (all classes)
rmse : Root Mean Squared Error
mae : Mean Absolute Error
l2r : L2 relative error
nse : Nash-Sutcliffe efficiency criteria, bigger is better, best=1, range=(-inf, 1]
cos : COsine Similarity, bigger is better, best=1, range=(0, 1]
You should have at least one row (X-cross #<n> where n is the output index).
Best regards,
Yanis
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.