ft_test {fastTextR}R Documentation

Evaluate the Model

Description

Evaluate the quality of the predictions. For the model evaluation precision and recall are used.

Usage

ft_test(model, file, k = 1L, threshold = 0)

Arguments

model

an object inheriting from 'fasttext'.

file

a character string giving the location of the validation file.

k

an integer giving the number of labels to be returned.

threshold

a double giving the threshold.

Examples

## Not run: 
ft_test(model, file)

## End(Not run)

[Package fastTextR version 2.1.0 Index]