Hi,
Does anybody know of a good resource with numpy vectorization exercises? Something like leetcode but for numpy vectorization. The reason why I'm asking about this is because I had several companies asking these sort of questions in the coding interviews. You are given a math formula, and you have to rewrite it in numpy/pytorch/tensorflow vectorized form, so that it is computationally efficient. I need basically some exercises to practise broadcasting, converting operations to matmul, masking, and other tensor tricks.
I appreciate your help in advance.
Hi, I came across this website Deep ML, it seems to still be a work in progress and I think they're aiming to eventually become the "LeetCode for MLEs". I am not sure about the quality of questions and answers, if you check it out please share some feedback here. Hopefully this helps. Good luck with your prep!
https://www.deep-ml.com/collections
Thanks for sharing this but I do not see verctorization exercises there :(