Skip to content

Commit

Permalink
inverse rmse (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsebgosselin committed May 6, 2018
1 parent ca2f67b commit 109cbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gwhat/gwrecharge/glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def calcul_glue(data, glue_limits, varname='recharge'):
x = np.array(data[varname])
_, ntime = np.shape(x)

rmse = np.array(data['RMSE'])
rmse = 1/np.array(data['RMSE'])
# Rescale the RMSE so the sum of all values equal 1.
rmse = rmse/np.sum(rmse)

Expand Down

0 comments on commit 109cbd9

Please sign in to comment.