Statistical curriculum learning: An elimination algorithm achieving an oracle risk