calculated tf-idf of document vector in challenge model