Skip to content

How 'metric' is being updated #1188

Answered by MaxHalford
cdeterman asked this question in Q&A
Discussion options

You must be logged in to vote

For example, in the 'nowcasting' example here there is a metric.update call. And a single MAE is reported at the top of the chart.

That's the last value of the metric.

Is it safe to say that the error in both cases should be the same at the end of evaluate.progressive_val_score whereby the metric.update loop is just the final aggregate?

Correct!

Or is there a lag to define the MAE in these examples? I wasn't sure where the utils.Rolling comes in to play.

One could also calculate a metric in a rolling fashion. If you printed out utils.Rolling(metrics.MAE(), 2000), you would get the MAE measured over the past 2000 samples, relative to when you're printing. The final output would be th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cdeterman
Comment options

Answer selected by cdeterman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants