diff --git a/Code/Day 6 Logistic Regression.md b/Code/Day 6 Logistic Regression.md index 1a1eace..31a698b 100644 --- a/Code/Day 6 Logistic Regression.md +++ b/Code/Day 6 Logistic Regression.md @@ -35,7 +35,7 @@ y = dataset.iloc[:, 4].values ### Splitting the dataset into the Training set and Test set ```python -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) ```