Skip to content

Allow targets to have an ensemble dimension in UnbiasedEnsembleMeanSquaredError.#244

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_738903556
Open

Allow targets to have an ensemble dimension in UnbiasedEnsembleMeanSquaredError.#244
copybara-service[bot] wants to merge 1 commit intomainfrom
test_738903556

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Mar 20, 2025

Allow targets to have an ensemble dimension in UnbiasedEnsembleMeanSquaredError.
If present, debias the target contribution as well.

One might ask, "how do you get an ensemble dim in the target?" Very good question, here is an answer. You could use the child CLs to...

  1. StackToRange the 'ensemble' and 'lead_time' dims in predictions into a new ensemble dim
  2. Rename the target's 'valid_time' dim into an ensemble dim
  3. Use this function

This same "trick" could be used for all ensemble metrics...effectively turning them into distributional distance measures. E.g. we could do a version of CRPS that subtracts (1/2) E|Y - Y'|.

…quaredError`.

If present, debias the target contribution as well.

One might ask, "how do you get an ensemble dim in the target?" Very good question, here is an answer. You could use the child CLs to...

1. `StackToRange` the 'ensemble' and 'lead_time' dims in predictions into a new ensemble dim
2. `Rename` the target's 'valid_time' dim into an ensemble dim
3. Use this function

This same "trick" could be used for all ensemble metrics...effectively turning them into distributional distance measures. E.g. we could do a version of CRPS that subtracts (1/2) E|Y - Y'|.

PiperOrigin-RevId: 738903556
@copybara-service copybara-service bot changed the title Allow targets to have an ensemble dimension in UnbiasedEnsembleMeanSquaredError. Allow targets to have an ensemble dimension in UnbiasedEnsembleMeanSquaredError. Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant