Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6d32475

Browse files
authored
변수명 변경
1 parent d11076f commit 6d32475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎03 - TensorBoard, Saver/02 - TensorBoard.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@
8686
print('예측값:', sess.run(prediction, feed_dict={X: x_data}))
8787
print('실제값:', sess.run(target, feed_dict={Y: y_data}))
8888

89-
check_prediction = tf.equal(prediction, target)
90-
accuracy = tf.reduce_mean(tf.cast(check_prediction, tf.float32))
89+
is_correct = tf.equal(prediction, target)
90+
accuracy = tf.reduce_mean(tf.cast(is_correct, tf.float32))
9191
print('정확도: %.2f' % sess.run(accuracy * 100, feed_dict={X: x_data, Y: y_data}))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /