The examples discussed in the previous chapters used real-valued explanatory variables, such as the diameter of a pizza. Many machine learning problems require learning from categorical variables, text, or images. In this chapter, we will learn to create features that represent such variables.





















































