Discover more from Daily Dose of Data Science
An Elegant Way To Perform Matrix Multiplication
Matrix multiplication is a common operation in machine learning. Yet, chaining repeated multiplications using 𝐦𝐚𝐭𝐦𝐮𝐥 function makes the code cluttered and unreadable.
If you are using NumPy, you can instead use the @ operator to do the same.
Thanks for reading Daily Dose of Data Science! Subscribe for free to receive new posts and support my work.
Share this post on LinkedIn: Link.
Find the code for my tips here: GitHub.