Created
January 4, 2019 17:05
-
-
Save hadifar/8734a6211856853bc16645bc24c65bed to your computer and use it in GitHub Desktop.
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
# Build 2 hidden layer DNN with 10, 10 units respectively. | |
classifier = tf.estimator.DNNClassifier( | |
feature_columns=my_feature_columns, | |
# Two hidden layers of 10 nodes each. | |
hidden_units=[10, 10], | |
# The model must choose between 3 classes. | |
n_classes=3, | |
# The directory which model to be saved | |
model_dir='./tmp' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment