Minor Review: notebooks/machine-learning-fundamentals/exercise-python-numpy-basics.ipynb
- Fixed typos
- marked an unmarked solution cell as skip
- added
del sum
to the end of this exercise to make the cell produce the same output on repeated executions
### Your Solution
print(sum(range(5),-1))
from numpy import *
print(sum(range(5), axis=-1)) # axis -1
del sum
- added two exercises to make row-wise/column-wise modifications - commonly done when using softmax or normalizing a data matrix.
Task: From each row, subtract the maximum value of that row. [...]
Task: Divide each column by the sum of that column. Then verify that each column adds up to 1. [...]
- Added Summary and Outlook (previously marked as todo)
In this notebook you've picked up many of the essential numpy operations for maths and data science tasks.
The more you use the library, the more of its functionality you'll discover and its usage will grow more intuitive and familiar.