MLwithTensorFlow2ed icon indicating copy to clipboard operation
MLwithTensorFlow2ed copied to clipboard

Chapter 4 listing not working in TensorFlow 2

Open LucaCerina opened this issue 3 years ago • 2 comments

Hello, I have reached chapter 4 and tried to replicate its notebook, but it doesn't seem to work properly, as it's not learning the proper values. The loss output is 0 from the beginning, so there is probably an issue there in how it's calculated.

I am investigating this issue, so I will come back to you if I find a fix

LucaCerina avatar Apr 15 '21 16:04 LucaCerina

Found that if weeks go from 1 to 52 it doesn't work. From 0 to 51 it works ok.

LucaCerina avatar Apr 15 '21 16:04 LucaCerina

thank you @LucaCerina! If you get a chance please provide a PR and we'll look at updating it...

chrismattmann avatar May 02 '21 16:05 chrismattmann