Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Build Neural Network - Classifier
classifier = tf.estimator.DNNClassifier(
feature_columns=columns_feat,
# Two hidden layers of 10 nodes each.
hidden_units=[10, 10],
# The model is classifying 3 classes
n_classes=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment