Principles of Data Science. Chapter 7.