AN 1011: TinyML Applications in Altera FPGAs Using LiteRT for Microcontrollers

ID 848984
Date 4/07/2025
Public
Document Table of Contents

2.3.4. Evaluating the Model

Assess the model's performance on the test set to estimate how well it generalizes to unseen data.
# Evaluate Accuracy of the Model
loss ,acc= model.evaluate(x_test, y_test)
print('Accuracy : ', acc)
Figure 5. Classification Accuracy of TensorFlow Model on Test Dataset