Open ChristofferHolmesland opened 4 years ago
The solution uses len(query) which is the length of the string, (=19), but it should be len(query.split()) (=3), right? If you divide on len(query) you get 0.0526..
but why should it be devided with len(query) and not terms ? I dont understand.. while the relevance is counted by terms and not character.
I think it is a bug, it should be divided by the amount of terms, hopefully the TA or professor can confirm this!
What is the correct method for calculating the score in the Query_processing_DaaT exercise? Using the score function from the notebook on document 0 I get score = 1/3. The test expects 0.0526.