What robots want: Using machine-learning to teach effectively