In the book p 251, 271 & 276, learning_rate begins with a capitol letter "L" in the class definition, but it doesn't in this code and it shouldn't. <!--StartFragment--> def __init__(self, learning_rate=1., decay=0., momentum=0.): self.learning_rate = learning_rate<!--EndFragment-->
In the book p 251, 271 & 276, learning_rate begins with a capitol letter "L" in the class definition, but it doesn't in this code and it shouldn't.
def init(self, learning_rate=1., decay=0., momentum=0.):
self.learning_rate = learning_rate