fix(metrics): name the wrapper mock correctly and document NaN r2 with one valid pair (SIENTIAPDE-2215)

This commit is contained in:
PedroHMCosme
2026-10-22 10:57:53 -03:00
parent fcb9bb263b
commit 9fa1430d75
2 changed files with 3 additions and 3 deletions

View File

@@ -358,7 +358,7 @@ class DataManagerRepository(SientiaMonitoring):
behavior, assuming that predictions (y_pred/y_train_pred) are already on the
correct scale for metric calculation (any scaling is handled inside the
model wrapper). Pairs with a NaN target or a NaN prediction are left out of
mse/mae/r2.
mse/mae/r2. With a single valid pair left, r2_val is NaN (R² needs 2 samples).
Args:
tmr: Training result containing: