split training.train and training.test run on confusion matrix