Nash Sutcliffe Efficiency Python
Similar to the coefficient of determination better known as r2 where as a rule of thumb everything above a value of around 07 is considered to be a decent fit or better which value of the nse is considered acceptable when you model eg.
Nash sutcliffe efficiency python. A python library for calculating and displaying the skill of model predictions against observations. The nash sutcliffe model efficiency coefficient is nearly identical to the coefficient of determination. Goodnessoffit is a python language software package that provide a set of function for goodness of fit measure between two signals. Index of agreement modified index of agreement relative index of agreement ratio of standard deviations nash sutcliffe efficiency modified nash sutcliffe efficiency relative nash sutcliffe.
In hydrology the nashsutcliffe efficiency nse coefficient is used to determine model efficiency. If you are following the methods you can see that classesall is an array with length equal to ns that contains integers from 1 to 4 each corresponding to one of the four outlets while classesbias contains a 1 for outlets considered to be inclined to the right and a 2 for those inclined to the left see previous code to understand this further. Nash sutcliffe efficiency nse original kling gupta efficiency kge and its three components r a b modified kling gupta efficiency kgeprime and its three components r g b non parametric kling gupta efficiency kgenp and its three components r a b root mean square error rmse mean absolute relative error mare percent bias pbias. The primary difference is how it is used.
The package provides a bundle of the most commonly used objective functions in hydrological science. Since the most general definition of the coefficient of determination is also known as the nashsutcliffe model efficiency coefficient this last notation is preferred in many fields because denoting a goodness of fit indicator that can vary from infinity to 1 ie it can yield negative values with a squared letter is confusing. Hydroeval an efficient evaluator for streamflow time series in python. Hydroeval is an open source evaluator of goodness of fit between simulated and observed streamflow time series in python.
The coefficient of determination r 2 is a measure of the goodness of fit of a statistical model. Like this ns is our feature array. Nash sutcliffe efficiency nse original kling gupta efficiency kge and its three components r a b modified kling gupta efficiency kgeprime and its three components r g b non parametric kling gupta efficiency kgenp and its three components r a b root mean square error rmse mean absolute relative error mare percent bias pbias. A discharge time series.
R 2 1 y i y i 2 y i y 2. It is licensed under gnu gpl 30 see licence file provided.