Skip to content

Instantly share code, notes, and snippets.

@yufengg
Created November 3, 2017 14:54
Show Gist options
  • Save yufengg/e467b512351d81d297fcc855c15e7958 to your computer and use it in GitHub Desktop.
Save yufengg/e467b512351d81d297fcc855c15e7958 to your computer and use it in GitHub Desktop.
classifier.train(
input_fn=train_input_fn,
steps=num_steps)
accuracy_score = classifier.evaluate(
input_fn=eval_input_fn)['accuracy']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment