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
While we don't tend to focus on uncertainty estimation on predictions, we support it through return_std, yet we do not have any scorers that take this into account for model selection and evaluation. Ideally where users want to make use of return_std, it should be considered as a factor in model quality.
Methods for measuring model performance while accounting for its prediction of uncertainty include:
"mean standardized squared error" or "mean squared deviation ratio" (both terms used in geostatistics) defined as the mean over samples of the squared error divided by the predicted variance: (from Webster and Oliver)). A median of this standardized squared error may also be used.
Measuring the proportion of true values falling within a k% predictive interval. (Given that we only provide return_std, we need to assume gaussian residuals in any measure of error.)
So you are proposing an additional method within sklearn.metrics (~ sklearn.metrics.msdr ) which would measure SSE (y - y_hat)^2 relative to its y_hat_std^2 as a measure of errors relative to prediction uncertainty, is that right? (sanity-checking understanding). I personally think this is a useful measure, especially when concerned about if the predictions are well-behaved.
Reply saying "take" to assign it to yourself. But I'm not entirely sure
this is what we want. I'm not very familiar with the properties of the
metrics. mean_standard_deviation_ratio looks like it would reward reducing
the predicted uncertainty in all cases. The other measure would reward
increasing the interval in all cases. So I'm also interested to know what
other measures might be out there. These were just two noted from a
geostatistics presentation.
On Tue, Jul 28, 2020 at 6:07 PM Joel Nothman ***@***.***> wrote:
Reply saying "take" to assign it to yourself. But I'm not entirely sure
this is what we want. I'm not very familiar with the properties of the
metrics. mean_standard_deviation_ratio looks like it would reward reducing
the predicted uncertainty in all cases. The other measure would reward
increasing the interval in all cases. So I'm also interested to know what
other measures might be out there. These were just two noted from a
geostatistics presentation.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18017 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AET5TXZ7DGJUWU6QELGGHJTR55KZ7ANCNFSM4PJ73R7A>
.
On Jul 28, 2020, at 6:45 PM, William Thompson ***@***.***> wrote:
Makes sense, I'm curious as well.
> On Tue, Jul 28, 2020 at 6:07 PM Joel Nothman ***@***.***> wrote:
> Reply saying "take" to assign it to yourself. But I'm not entirely sure
> this is what we want. I'm not very familiar with the properties of the
> metrics. mean_standard_deviation_ratio looks like it would reward reducing
> the predicted uncertainty in all cases. The other measure would reward
> increasing the interval in all cases. So I'm also interested to know what
> other measures might be out there. These were just two noted from a
> geostatistics presentation.
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
In reading this chapter @jnothman, you would probably not want MSDR as a metric, but abs( 1.0 - MSDR(x,z)) as unity is definitionally a perfect explanation of the kriging variances in cross-validation. Anything >> 1.0 or <<1.0 is considered a poor fit. This is also reflected in the mean residual in that table right after .
The only other measure I've seen is the Bayes R^2.
Activity
jnothman commentedon Jul 28, 2020
What do others think?
will-thompson-k commentedon Jul 28, 2020
So you are proposing an additional method within
sklearn.metrics(~sklearn.metrics.msdr) which would measure SSE (y - y_hat)^2 relative to its y_hat_std^2 as a measure of errors relative to prediction uncertainty, is that right? (sanity-checking understanding). I personally think this is a useful measure, especially when concerned about if the predictions are well-behaved.jnothman commentedon Jul 28, 2020
Yes, that, and a corresponding scorer accessible with
get_scorer, which would call.predict(..., return_std=True); this would also be something new.will-thompson-k commentedon Jul 28, 2020
Got it. I can implement it if you want to assign to me and/or I can create a PR.
jnothman commentedon Jul 28, 2020
will-thompson-k commentedon Jul 28, 2020
will-thompson-k commentedon Jul 30, 2020
jnothman commentedon Jul 30, 2020
I referenced a book chapter above: https://onlinelibrary.wiley.com/doi/abs/10.1002/9780470517277.ch8
will-thompson-k commentedon Aug 12, 2020
-I am hitting paywalls when trying to look at that chapter.-
**Correction: I found the chapter.
will-thompson-k commentedon Aug 13, 2020
In reading this chapter @jnothman, you would probably not want MSDR as a metric, but

abs( 1.0 - MSDR(x,z))as unity is definitionally a perfect explanation of the kriging variances in cross-validation. Anything >> 1.0 or <<1.0 is considered a poor fit. This is also reflected in the mean residual in that table right after .The only other measure I've seen is the Bayes R^2.