hettlage (100) [Avatar] Offline
#1
Judging from the program logic and comparing with Listing 3.3, I suspect that the line

w_val = sess.run(w)


shouldn't be indented in Listing 3.2.
Nishant Shukla (52) [Avatar] Offline
#2
I think you're right. I'll be going through the code listings to improve the indentation issues soon.

Thanks!