calculate_error_coefficients

calculate_error_coefficients(identified_gears, gears, engine_speeds, predicted_engine_speeds, velocities, stop_velocity)[source]

Calculates the prediction’s error coefficients.

Parameters:
  • identified_gears (numpy.array) – Identified gear vector [-].
  • gears (numpy.array) – Gear vector [-].
  • engine_speeds (numpy.array) – Engine speed vector [RPM].
  • predicted_engine_speeds (numpy.array) – Predicted Engine speed vector [RPM].
  • velocities (numpy.array) – Vehicle velocity [km/h].
  • stop_velocity (float) – Maximum velocity to consider the vehicle stopped [km/h].
Returns:

Correlation coefficient and mean absolute error.

Return type:

dict