Régression

library(caret)

  • postResample(pred = y_pred, obs = y_reel) renvoie le RMSE, le R².