The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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
    >>>