ML-foundations
ML-foundations copied to clipboard
Improvements for 1-intro-to-linear-algebra.ipynb
Hi @jonkrohn,
Following the issue (https://github.com/jonkrohn/ML-foundations/issues/16) that I opened yesterday, I've made these changes:
- Removed the notebook metadata with
nbstripoutin VS Code so you can clearly see them. If you know about a better method, please tell me because I triednbdimewithout success (1,500+ insertions/deletions for adding a single word). - Added the text inside the code cells as comments, which contain:
- Additional explanations, such as the fact that
np.dotandnp.matmulproduce the same results for 1D and 2D arrays, but they behave differently in higher dimensions (L2531). - Alternative functions, like
tf.tensordotfor computing the dot product directly in TensorFlow, and solutions (L2984), where I showed how to multiply two matrices using thetorch.einsumfunction.
- Additional explanations, such as the fact that