Small bug in Notebook
jp-varela opened this issue · 1 comments
jp-varela commented
Found a small bug in '05a - Deep Neural Networks (TensorFlow)'.
First notebook cell:
# The dataset is too small to be useful for deep learning
# So we'll oversample it to triple its size
for i in range(1,3):
penguins = penguins.append(penguins)
This is not correct, as this will not triple its size.
Possible Fix:
# The dataset is too small to be useful for deep learning
# So we'll oversample it to triple its size
penguins_3x = pd.DataFrame()
for i in range(3):
penguins_3x = penguins_3x.append(penguins)
penguins = penguins_3x
GraemeMalcolm commented
Thanks - fixed!