vtools.functions.skill_metrics

Functions

_main()

corr_coefficient(predictions, targets[, method])

Calculates the correlation coefficient (the 'r' in '-squared' between two series.

mean_error(predictions, targets, proportiontocut)

Calculate the untrimmed mean error, discounting nan values

median_error(predictions, targets)

Calculate the median error, discounting nan values

mse(predictions, targets)

Mean squared error

rmse(predictions, targets)

Root mean squared error

skill_score(predictions, targets[, ref])

Calculate a Nash-Sutcliffe-like skill score based on mean squared error

tmean_error(predictions, targets[, limits, ...])

Calculate the (possibly trimmed) mean error, discounting nan values