scripts.alloc_calibration

This script evaluates the yearly results of the dwelling allocation process. It compares the inhabit matrices of the allocation output with the respective empirical inhabit matrix.

As a metric, the root-mean-square error (rmse) is calculated for the whole matrix.

Functions

inhabit_metrics(inhabit_1_v, inhabit_2_v)

Calculates Root Mean Squared Error (RMSE) and normalized RMSE between two inhabit matrices.

main(ip)

Main function to perform dwelling allocation calibration by comparing modeled and empirical inhabit data.