Adaptive Teaching Machines