From 4e56198a4b7bc8885719116d39ea0d1db48f948b Mon Sep 17 00:00:00 2001 From: wengJJ <31797645+wengJJ@users.noreply.github.com> Date: Thu, 6 Sep 2018 21:54:36 +0800 Subject: [PATCH] Update Day 13_SVM.py --- Code/Day 13_SVM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Day 13_SVM.py b/Code/Day 13_SVM.py index d65ca85..155a3e8 100644 --- a/Code/Day 13_SVM.py +++ b/Code/Day 13_SVM.py @@ -11,7 +11,7 @@ X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values #Splitting the dataset into the Training set and Test set -from sklearn.cross_validation import train_test_split +from sklearn.model_selection import train_test_split X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.25, random_state = 0) #Feature Scaling