nfmcclure / tensorflow_cookbook

Code for Tensorflow Machine Learning Cookbook
https://www.packtpub.com/big-data-and-business-intelligence/tensorflow-machine-learning-cookbook-second-edition
MIT License
6.23k stars 2.41k forks source link

Chapter 6, Section: Improving the predictions of linear models has wrong indices. #128

Closed bharathbunny closed 6 years ago

bharathbunny commented 6 years ago

The dependent variable is in index 0. The factors are in indices 1:8.

After you clean up birth_data, there are empty lists that need to be removed.

nfmcclure commented 6 years ago

Hi @bharathbunny , thanks for bringing this up. This is a known problem since we've changed where the data come from: Duplicate: https://github.com/nfmcclure/tensorflow_cookbook/issues/118

I'm working on updating all the code/notebooks for a book v2 now. I'm on chapter 5 currently. Ch 6 is next. Expect the code fix in the next few weeks. Thanks!

nfmcclure commented 6 years ago

This should be fixed now! Thanks.