Machine Learning Train/Test

Train/Test is a method to measure the accuracy of your model. You can split the the data set into two sets (training set and a testing set).

Code :