A generalized Bayesian approach to model calibration