Zaslat SMS: Statistical mechanics of learning