The nn.RNN layer is used for sequence data, often in tasks like text or time series prediction. The key metrics depend on the task:
- For classification tasks: Accuracy, Precision, Recall, and F1-score matter to understand how well the RNN predicts correct classes over sequences.
- For regression tasks: Mean Squared Error (MSE) or Mean Absolute Error (MAE) show how close predictions are to true values.
Because RNNs handle sequences, it is important to evaluate metrics that reflect performance over the entire sequence, not just single points.