Checks accuracy of word embeddings on the analogy task
This function checks how well the GloVe word embeddings do on the analogy task. For full examples see glove.
check_analogy_accuracy(questions_list, m_word_vectors, verbose = TRUE)
listof questions. Each element of
integer matrixwith four columns. It represents a set of questions related to a particular category. Each element of matrix is an index of a row in
m_word_vectors. See output of prepare_analogy_questions for details
- word vectors
numeric matrix. Each row should represent a word.
logicalwhether to print messages during evaluation.
Looks like there are no examples yet.