iit-cs429/main

A2: Question about doc test for compute_doc_length

Closed this issue · 2 comments

Is the doc test for compute_doc_length for A2 same as A1? if so is length[0] = 5?

selection_076

Would that also make the mean 5.0?

Just figured it out. keep in mind the comment is asking for number of terms in each document so just sum up all the frequencies of each term for the doc.