text_plain_output_1.png
from sklearn.model_selection import train_test_split

from sklearn.model_selection import train_test_split

import pandas as pd

import pandas as pd

df = pd.read_csv('/kaggle/input/review/diabetes.csv')
X = df.drop('Outcome', axis=1).values
y = df['Outcome'].values
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=101)

df = pd.read_csv('/kaggle/input/review/diabetes.csv')
X = df.drop('Outcome', axis=1).values
y = df['Outcome'].values
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=101)
print(df.head())