I\'m writing a query for searching engine. I want to calculate the score using cosine similarity(between image feature vectors) and TFIDF.