SMS: Algorithmiclearning theory