In its Uncooked frequency sort, tf is simply the frequency in the "this" for every document. In Every document, the word "this" appears as soon as; but since the document 2 has much more phrases, its relative frequency is smaller sized.epoch. For this reason a Dataset.batch applied right after Dataset.repeat will yield batches that straddle epoch b