powered by
Evaluate the quality of the predictions. For the model evaluation precision and recall are used.
ft_test(model, file, k = 1L, threshold = 0)
an object inheriting from 'fasttext'.
'fasttext'
a character string giving the location of the validation file.
an integer giving the number of labels to be returned.
a double giving the threshold.
if (FALSE) { ft_test(model, file) }
Run the code above in your browser using DataLab