Skip to content

Commit 4193605

Browse files
authored
Merge pull request nlintz#50 from gaoyuan/patch-1
Y not used in prediction
2 parents 5311737 + c089c51 commit 4193605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

02_logistic_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ def model(X, w):
3636
for start, end in zip(range(0, len(trX), 128), range(128, len(trX)+1, 128)):
3737
sess.run(train_op, feed_dict={X: trX[start:end], Y: trY[start:end]})
3838
print(i, np.mean(np.argmax(teY, axis=1) ==
39-
sess.run(predict_op, feed_dict={X: teX, Y: teY})))
39+
sess.run(predict_op, feed_dict={X: teX})))

0 commit comments

Comments
 (0)