Heterogeneous Error Function for Non-Conformity Scores
heterogeneous_error(pred, truth, coefs)a numeric vector of predicted values
a numeric vector of true values
a numeric vector of coefficients for the heterogeneous error model. Must be of length 2, where the first element is the intercept and the second element is the slope.