MoNGEL: monotonic nested generalized exemplar learning