Capturing the learning curves of generic features maps for realistic data sets with a teacher-student model