01Chapter 1: Why models need text as numbersYou should know basic Python, including lists and functions. Familiarity with NumPy arrays helps. You should also understand the idea of a classifier that learns with fit and predicts with predict.2 min read
02Chapter 2: Why the matrix is sparse and how it is storedThis chapter assumes you know basic Python, can read NumPy arrays, and understand logarithms. A document-term matrix has one row per document and one column per vocabulary term. Each cell holds the count of that term in that document.2 min read
03Chapter 3: Capturing short phrases with n-gramsThis chapter assumes basic Python, familiarity with NumPy arrays, the fit and predict idea for classifiers, and the bag-of-words and TF-IDF material from earlier chapters.2 min read