pkmital / CADL

ARCHIVED: Contains historical course materials/Homework materials for the FREE MOOC course on "Creative Applications of Deep Learning w/ Tensorflow" #CADL
https://www.kadenze.com/courses/creative-applications-of-deep-learning-with-tensorflow/info
Apache License 2.0
1.48k stars 732 forks source link

Fixes in section-02.ipynb for Python 3.6 #73

Closed alvaroingold closed 7 years ago

alvaroingold commented 7 years ago

Hi Parag,

I have fixed the code in the lecture-02 IPhyton notebook. 1) In the Learning Rate section. This changes cast the init_p variable as an integer in order for it to be accepted in Python 3.6 as a viable index for the gradient, x and cost arrays. This issue was mentioned in the class forum here

2) In the Over vs. Underfitting section Fixed the power range in section to start at value 1. This avoids having a 0th power expansion which introduces additional bias. This issue was raised in the session 02 forum here

pkmital commented 7 years ago

Thank you!