Assessing switch weld quality with 3D sensing and machine learning