You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bulk modulus notebook takes the absolute value of r^2 when computing the scoring metric. But, it should not do that - if r^2 is less than zero, it is worse than predicting the mean.
Probably it won't affect this specific notebook, but better not to have that code in there. Very simple fix - just remove np.abs() around any r2 computation.
The text was updated successfully, but these errors were encountered:
(note that negative r^2 would really not happen if you are fitting a model to a provided data set, but extrapolation of a prior model to a new data set can certainly be worse than just predicting the average of values in the new data set.)
The bulk modulus notebook takes the absolute value of r^2 when computing the scoring metric. But, it should not do that - if r^2 is less than zero, it is worse than predicting the mean.
Probably it won't affect this specific notebook, but better not to have that code in there. Very simple fix - just remove np.abs() around any r2 computation.
The text was updated successfully, but these errors were encountered: