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.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn