Created
June 21, 2020 14:41
-
-
Save shubham769/3c460a802ac7de5678f39338b34821a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pima = pd.read_csv("diabetes.csv") | |
X = pima.iloc[:,:-1] | |
y = pima.iloc[:,-1] | |
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.3, random_state=1) # 70% training and 30% test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment