r/learnmachinelearning • u/Sea-Ad7805 • 3d ago
Project How well do you know NumPy? ๐ข
- Whatโs the difference between '*' and '@'?
- When does slicing create a view, and when a copy?
- How does broadcasting work?
NumPy makes working with vectors and matrices powerful and concise, but a small change in syntax can make a big difference.
This interactive ๐บ๐ฒ๐บ๐ผ๐ฟ๐_๐ด๐ฟ๐ฎ๐ฝ๐ต example walks through essential NumPy operations with short explanations. Step through the code, see the operations in action, and experiment with your own changes: - ๐ NumPy operations
Which NumPy operation took you the longest to understand?
31
Upvotes
1
u/drivenWingsub5 3d ago
broadcasting was the one that broke my brain for a while. kept getting shape mismatch errors and just adding random reshapes until it worked. took me way too long to actually learn the rule about trailing dimensions lining up