teehr.metrics.deterministic_funcs#
Contains UDFs for deterministic metric calculations in Spark queries.
Functions
Create the annual_peak_relative_bias metric function. |
|
Create the kling_gupta_efficiency_mod1 metric function. |
|
Create the kling_gupta_efficiency_mod2 metric function. |
|
Create the kling_gupta_efficiency metric function. |
|
Create the mean_absolute_error metric function. |
|
Create the mean_absolute_relative_error metric function. |
|
Create the multiplicative_bias metric function. |
|
Create the mean_error metric function. |
|
Create the mean_squared_error metric function. |
|
Create the max_value_delta metric function. |
|
Create the max_value_timedelta metric function. |
|
Create the nash_sutcliffe_efficiency_normalized metric function. |
|
Create the nash_sutcliffe_efficiency metric function. |
|
Create the pearson_correlation metric function. |
|
Create the R-squared metric function. |
|
Create the relative_bias metric function. |
|
Create the root_mean_standard_deviation_ratio metric function. |
|
Create the root_mean_squared_error metric function. |
|
Create the Spearman metric function. |
- teehr.metrics.deterministic_funcs.aprb_wrapper(model: MetricsBasemodel) Callable [source]#
Create the annual_peak_relative_bias metric function.
- teehr.metrics.deterministic_funcs.kge_mod1_wrapper(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency_mod1 metric function.
- teehr.metrics.deterministic_funcs.kge_mod2_wrapper(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency_mod2 metric function.
- teehr.metrics.deterministic_funcs.kge_wrapper(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency metric function.
- teehr.metrics.deterministic_funcs.mae_wrapper(model: MetricsBasemodel) Callable [source]#
Create the mean_absolute_error metric function.
- teehr.metrics.deterministic_funcs.mare_wrapper(model: MetricsBasemodel) Callable [source]#
Create the mean_absolute_relative_error metric function.
- teehr.metrics.deterministic_funcs.mb_wrapper(model: MetricsBasemodel) Callable [source]#
Create the multiplicative_bias metric function.
- teehr.metrics.deterministic_funcs.me_wrapper(model: MetricsBasemodel) Callable [source]#
Create the mean_error metric function.
- teehr.metrics.deterministic_funcs.mse_wrapper(model: MetricsBasemodel) Callable [source]#
Create the mean_squared_error metric function.
- teehr.metrics.deterministic_funcs.mvd_wrapper(model: MetricsBasemodel) Callable [source]#
Create the max_value_delta metric function.
- teehr.metrics.deterministic_funcs.mvtd_wrapper(model: MetricsBasemodel) Callable [source]#
Create the max_value_timedelta metric function.
- teehr.metrics.deterministic_funcs.nse_norm_wrapper(model: MetricsBasemodel) Callable [source]#
Create the nash_sutcliffe_efficiency_normalized metric function.
- teehr.metrics.deterministic_funcs.nse_wrapper(model: MetricsBasemodel) Callable [source]#
Create the nash_sutcliffe_efficiency metric function.
- teehr.metrics.deterministic_funcs.pc_wrapper(model: MetricsBasemodel) Callable [source]#
Create the pearson_correlation metric function.
- teehr.metrics.deterministic_funcs.r_squared_wrapper(model: MetricsBasemodel) Callable [source]#
Create the R-squared metric function.
- teehr.metrics.deterministic_funcs.rb_wrapper(model: MetricsBasemodel) Callable [source]#
Create the relative_bias metric function.
- teehr.metrics.deterministic_funcs.rmsdr_wrapper(model: MetricsBasemodel) Callable [source]#
Create the root_mean_standard_deviation_ratio metric function.