A Comprehensive Machine Learning Framework for Digital Twins: Data Collection, Surrogate Modeling, and Calibration