In the basic setting, this function is equivalent to doing group-by on variable and calculating mean on predicted and actual. In addition to that it also handles NAs in response and weights automatically.
h2o.predicted_vs_actual_by_variable(object, newdata, predicted, variable)
H2OTable
A trained supervised H2O model.
Input frame (can be training/test/.. frame).
Frame of predictions for the given input frame.
Name of variable to inspect.