Machine Learning(Preview) A Bayesian and Optimization Perspective First Edition