Learning on a Budget