結果 : what is the purpose of splitting data into a training set and a test set in machine learning