Learn R Programming

text2vec (version 0.2.0)

check_analogue_accuracy: Checks accuracy of word embeddings on analogue task.

Description

for full examples see glove

Usage

check_analogue_accuracy(questions_lst, m_word_vectors, verbose = TRUE)

Arguments

questions_lst
list of questions. Each element of questions_lst is a integer matrix with ncol = 4 and represents set of questions related to particular category. Each element of matrix is a index of row in m_word
m_word_vectors
word vectors numeric matrix. Each row should represent word.
verbose
logical whether to print messages during evaluation.

See Also

prepare_analogue_questions, glove