ft_train | R Documentation |
Train a new word representation model or supervised classification model.
ft_train(
file,
method = c("supervised", "cbow", "skipgram"),
control = ft_control(),
...
)
file |
a character string giving the location of the input file. |
method |
a character string giving the method, possible values are
|
control |
a list giving the control variables, for more information
see |
... |
additional control arguments inserted into the control list. |
## Not run:
cntrl <- ft_control(nthreads = 1L)
model <- ft_train("my_data.txt", method="supervised", control = cntrl)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.