Adaptive computation and machine learning