Skip to content

Instantly share code, notes, and snippets.

@charanhu
Created August 11, 2022 06:10
Show Gist options
  • Save charanhu/4709d0befec348eb3fd21117311242ec to your computer and use it in GitHub Desktop.
Save charanhu/4709d0befec348eb3fd21117311242ec to your computer and use it in GitHub Desktop.
X = insurance_dataset.drop(columns='charges', axis=1)
Y = insurance_dataset['charges']
X_train, X_test, Y_train, Y_test=train_test_split(X, Y, test_size=0.2, random_state=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment