Vectorization

Videos:

  • Vectorization
  • More Vectorization Examples

In bullet points:

  • ML tasks are usually highly parallelizable due to the nature of the problem. Single instruction, multiple data (SIMD).
  • Any time you see a for loop, you should have a reflex to vectorize that.
  • Use numpy library’s .dot method.
end of storey Last modified: