image_output_1.png
from sklearn.model_selection import train_test_split

from sklearn.preprocessing import StandardScaler

import pandas as pd

dataset = pd.read_csv('../input/train.csv')

X = dataset.iloc[:, [4, 2, 6, 5]].values
y = dataset.iloc[:, 1].values

from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)
from sklearn.preprocessing import StandardScaler
sc = StandardScaler()
X_train = sc.fit_transform(X_train)
X_test = sc.transform(X_test)