In its raw frequency variety, tf is just the frequency of your "this" for each document. In Each and every document, the term "this" seems at the time; but since the document 2 has a lot more phrases, its relative frequency is smaller sized.log N n t = − log n t N displaystyle log frac N n_ t =-log frac n_ t N Notice: The dataset should i