Frequency Based Learning