add logistic regression demo from machine learning in action chapter 5