Skip to contents

This function takes the output from the downscale function and computes various performance metrics for each ensemble. It provides a way to evaluate the accuracy of the downscaling results without modifying the main downscaling function.

Usage

downscale_metrics(downscale_output)

Arguments

downscale_output

List. Output from the downscale function, containing data, models, maps, predictions, and test predictions for each ensemble.

Value

A data.frame with mean, RMSE, MAE, R-squared, and coefficient of variation for each ensemble.

Details

This function calculates performance metrics for the downscaling results. It computes Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and R-squared for each ensemble. The function uses the actual values from the testing data and the predictions generated during the downscaling process.

Author

Sambhav Dixit, David LeBauer