Detector pixel calibration of time-of-flight neutron diffractometers accelerated by machine learning