predict.supervised_model | R Documentation |
Predict values based on a previously trained model.
ft_predict(
model,
newdata,
k = 1L,
threshold = 0,
rval = c("sparse", "dense", "slam"),
...
)
model |
an object inheriting from |
newdata |
a character vector giving the new data. |
k |
an integer giving the number of labels to be returned. |
threshold |
a double withing |
rval |
a character string controlling the return value, allowed
values are |
... |
currently not used. |
NULL
if a 'result_file'
is given otherwise
if 'prob'
is true a data.frame
with the predicted labels
and the corresponding probabilities, if 'prob'
is false a
character vector with the predicted labels.
## Not run:
ft_predict(model, newdata)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.