Programming Machine Learning:Error in Chapter 17?