February 2018
Beginner to intermediate
258 pages
5h 47m
English
An issue with text data is that words and sentences are messy, and algorithms for data mining usually do not work out of the box, as they are designed to operate on abstractions of the data, usually in matrix form. So we need to find a way to represent our messy text data as a matrix.
One of the most commonly used matrix representations in practice is the bag of words model. This is a very simple and intuitive way of extracting information from text. There are some caveats to it, which will be discussed later.
A bag of words representation of a text consists of:
For example, suppose we have a corpus (a collection ...
Read now
Unlock full access