Section outline

    • Lecture content: Vectorization of data -- texts and images as vectors of numbers (Bag-of-words model, RGB images as 3-dimensional arrays), vectorized operations.

      Tutorial content: Light introduction to Numpy arrays (motto: “From lists to arrays.”)

      Homework: Implement a text vectorizer (similar to CountVectorizer class from scikit-learn) to convert texts into a document-term matrix.