From machine learning to machine teaching