learning based on a flexible schedule