Vectorization in Python for Machine Learning
Introduction Imagine you need to double every number in a list of 1000 values. One approach is to take the first number, multiply it by 2, write down the result, then move to the second number, multiply it by 2, write it down, and repeat 998 more times. Another approach is to use a spreadsheet…
