Created
May 6, 2018 12:15
-
-
Save hackintoshrao/84f905939f57e9150ea9968d1c6a2217 to your computer and use it in GitHub Desktop.
Optimization function evaluation
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
with tf.Session() as sess: | |
sess.run(init) | |
display_step = 20 | |
# Fit all training data | |
for iteration in range(training_iteration): | |
# Run the gradient descent optimizer | |
sess.run(optimizer, feed_dict={X: X_train, Y: Y_train}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment