ScalarObjective#

class hydromodpy.calibration.ScalarObjective(observations, *, metric='nse', station_weights=None)[source]#

Bases: object

Single metric objective over one observation set.

The objective evaluates one metric such as NSE, KGE, RMSE, or MAE for each available station, converts scores to minimization costs when needed, and returns the weighted station average.

Parameters: