jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.72k stars 3.03k forks source link

Fix 2D matrix encoding error in MPG regression #2

Closed friedhelmvictor closed 7 years ago

friedhelmvictor commented 7 years ago

The function to_xy is still returning the mpg column for x if ['mpg'] is passed instead of 'mpg'. This leads to the network being trained with the response variable.

jeffheaton commented 7 years ago

Good catch, thanks.