Skip to contents

Observation-weighted mean absolute error loss function

Usage

loss_mae_with_observation_weight(y_hat, y, ...)

Arguments

y_hat

A numeric vector representing predictions

y

A numeric vector representing observations

...

Additional arguments passed from other functions; ignored

Value

A scalar value

References

Suman Ravuri et al. (2021). Skilful precipitation nowcasting using deep generative models of radar. https://www.nature.com/articles/s41586-021-03854-z