get_R2¶
- get_R2(y_test, y_test_pred)[source][source]¶
Function to get R2
- Parameters:
of (y_test - the true outputs (a matrix of size number of examples x number)
outputs) (number of)
x (y_test_pred - the predicted outputs (a matrix of size number of examples)
outputs)
- Returns:
R2_array
- Return type:
An arrayofR2s for each output