Skip to content

Instantly share code, notes, and snippets.

@hucodelab
Created April 30, 2022 04:06
Show Gist options
  • Select an option

  • Save hucodelab/044c0255917c977a10f4145a1641c363 to your computer and use it in GitHub Desktop.

Select an option

Save hucodelab/044c0255917c977a10f4145a1641c363 to your computer and use it in GitHub Desktop.
# evaluate the model's accuracy
training_acc=clf.score(X_train, y_train)
test_acc=clf.score(X_test,y_test)
# Let's see what the accuracy is
training_acc, test_acc
(0.9436619718309859, 0.958041958041958)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment