p483のコードの記述ミス
tetsuomiyoshi opened this issue · comments
tetsuomiyoshi commented
p483の下段のコードですが、
ts = [example[0] for example in train_set]
は、
ts = [example[1] for example in train_set]
の間違いではないでしょうか?
Koki Saitoh commented
ありがとうございます。ご指摘どおりです。
修正は下記に追記しました。
https://github.com/oreilly-japan/deep-learning-from-scratch-3/wiki/Errata