OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
metrics.py File Reference

Go to the source code of this file.

Namespaces

 MDN.metrics
 

Functions

def validate_shape (func)
 
def only_finite (func)
 
def only_positive (func)
 
def label (name)
 
def rmse (y, y_hat)
 
def rmsle (y, y_hat)
 
def nrmse (y, y_hat)
 
def mae (y, y_hat)
 
def mape (y, y_hat)
 
def leqz (y, y_hat=None)
 
def leqznan (y, y_hat=None)
 
def mdsa (y, y_hat)
 
def msa (y, y_hat)
 
def sspb (y, y_hat)
 
def bias (y, y_hat)
 
def r_squared (y, y_hat)
 
def slope (y, y_hat)
 
def intercept (y, y_hat)
 
def mwr (y, y_hat, y_bench)
 
def performance (key, y, y_hat, metrics=[mdsa, sspb, slope, msa, rmsle, mae, leqznan], csv=False)