atmospy.air_sensor_stats#
- atmospy.air_sensor_stats(actual, predicted)#
Compute the statistical measures required by EPA for Air Sensor NSIM evaluation per their guidebooks.
- Parameters:
- actualnp.ndarray
An array of numeric types with the reference values (i.e., y_true in sklearn language).
- predictednp.ndarray
An array of numeric types with the air sensor values (i.e., y_pred in sklearn language).
- Returns:
- results: SensorStatsResults
An instance of the SensorStatsResults dataclass with fit data results including slope, intercept, MAE, RMSE, NRMSE, NOBS, and Pearson-R2.