Here is a python script to calculate a new uncertainty quantification measure, delta metric, intended for materials science applications.
from dmetric import get_delta_metrics
delta_metrics = get_delta_metrics(structures_train, structures_test, errors_train)