yatsm.regression.diagnostics module

Regression diagnostics calculations

Includes:
  • rmse: calculate root mean squared error
yatsm.regression.diagnostics.rmse(y, yhat)[source]

Calculate and return Root Mean Squared Error (RMSE)

Parameters:
  • y (np.ndarray) – known values
  • yhat (np.ndarray) – predicted values
Returns:

Root Mean Squared Error

Return type:

float