Frank Hinek (4) [Avatar] Offline
#1
Uploaded the portion of the page to aid in the correction (see attached).

  • Text should be changed to read "It should print "0.3025".

  • Result of Input x Weight should be changed from 0.4 to 0.25

  • Calculated error should be changed from 0.16 to 0.3025


  • Ezra J. Schroeder (2) [Avatar] Offline
    #2
    I just re-downloaded the pdf file of the book to make sure I wasn't offering "help" on things that had already been fixed. I was going to comment on this same issue, but wanted to make sure it hadn't been addressed already (it has--I found *this* post). Although, what I was going to say [pasted below] wasn't as helpful:

    >>> knob_weight = 0.5
    >>> input = 0.5
    >>> goal_pred = 0.8
    >>> pred = input * knob_weight
    >>> error = (pred - goal_pred) ** 2
    >>> error 
    0.30250000000000005
    >>>