calibration apply to whole dataset