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 metric function. |
|
Create the kling_gupta_efficiency_mod1 metric function. |
|
Create the kling_gupta_efficiency_mod2 metric function. |
|
Create the max_value_delta metric function. |
|
Create the max_value_timedelta metric function. |
|
Create the mean_absolute_error metric function. |
|
Create the Absolute Relative Error metric function. |
|
Create the Mean Error metric function. |
|
Create the mean_squared_error metric function. |
|
Create the Multiplicative Bias metric function. |
|
Create the nash_sutcliffe_efficiency metric function. |
|
Create the nash_sutcliffe_efficiency_normalized metric function. |
|
Create the Pearson Correlation Coefficient metric function. |
|
Create the R-squared metric function. |
|
Create the Relative Bias metric function. |
|
Create the root_mean_squared_error metric function. |
|
Create the root_mean_standard_deviation_ratio metric function. |
|
Create the Spearman metric function. |
- teehr.metrics.deterministic_funcs.annual_peak_relative_bias(model: MetricsBasemodel) Callable [source]#
Create the annual_peak_relative_bias metric function.
- teehr.metrics.deterministic_funcs.kling_gupta_efficiency(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency metric function.
- teehr.metrics.deterministic_funcs.kling_gupta_efficiency_mod1(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency_mod1 metric function.
- teehr.metrics.deterministic_funcs.kling_gupta_efficiency_mod2(model: MetricsBasemodel) Callable [source]#
Create the kling_gupta_efficiency_mod2 metric function.
- teehr.metrics.deterministic_funcs.max_value_delta(model: MetricsBasemodel) Callable [source]#
Create the max_value_delta metric function.
- teehr.metrics.deterministic_funcs.max_value_timedelta(model: MetricsBasemodel) Callable [source]#
Create the max_value_timedelta metric function.
- teehr.metrics.deterministic_funcs.mean_absolute_error(model: MetricsBasemodel) Callable [source]#
Create the mean_absolute_error metric function.
- teehr.metrics.deterministic_funcs.mean_absolute_relative_error(model: MetricsBasemodel) Callable [source]#
Create the Absolute Relative Error metric function.
- teehr.metrics.deterministic_funcs.mean_error(model: MetricsBasemodel) Callable [source]#
Create the Mean Error metric function.
- teehr.metrics.deterministic_funcs.mean_squared_error(model: MetricsBasemodel) Callable [source]#
Create the mean_squared_error metric function.
- teehr.metrics.deterministic_funcs.multiplicative_bias(model: MetricsBasemodel) Callable [source]#
Create the Multiplicative Bias metric function.
- teehr.metrics.deterministic_funcs.nash_sutcliffe_efficiency(model: MetricsBasemodel) Callable [source]#
Create the nash_sutcliffe_efficiency metric function.
- teehr.metrics.deterministic_funcs.nash_sutcliffe_efficiency_normalized(model: MetricsBasemodel) Callable [source]#
Create the nash_sutcliffe_efficiency_normalized metric function.
- teehr.metrics.deterministic_funcs.pearson_correlation(model: MetricsBasemodel) Callable [source]#
Create the Pearson Correlation Coefficient metric function.
- teehr.metrics.deterministic_funcs.r_squared(model: MetricsBasemodel) Callable [source]#
Create the R-squared metric function.
- teehr.metrics.deterministic_funcs.relative_bias(model: MetricsBasemodel) Callable [source]#
Create the Relative Bias metric function.
- teehr.metrics.deterministic_funcs.root_mean_squared_error(model: MetricsBasemodel) Callable [source]#
Create the root_mean_squared_error metric function.