Created
July 15, 2018 10:38
-
-
Save securetorobert/52c47a2c32fcb7a567b22db8ea176bec to your computer and use it in GitHub Desktop.
Training a DNNClassifier on the Iris Dataset
This file contains hidden or 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
# Train our model, use the previously function my_input_fn | |
# Input to training is a file with training example | |
# Stop training after 8 iterations of train data (epochs) | |
classifier.train( | |
input_fn=lambda: my_input_fn(FILE_TRAIN, True, 8)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment