What is vectorization in machine learning?

Umut
Aug 5, 2022

--

Railroad Tracks in City
Photo by Pixabay from Pexels: https://www.pexels.com/photo/railroad-tracks-in-city-258510/

It is like process whole array one time. There is no explicit for loop for vectors.

Python for loop is not fast enough for machine learning process. For that reason, vectorization uses in python with numpy.

Why is it faster than python for loop?

Reaching a numpy array is faster than a python list ,and numpy uses process speed of C and C++. Also, numpy uses parallel process.

--

--

Umut
0 Followers

If a thing is about computers, probably it is in my field of interest. I cannot learn everything so I have sorted my interests, and first of the line is ML