Learn R Programming

text (version 1.4)

textPredictAll: Predict from several models, selecting the correct input

Description

Predict from several models, selecting the correct input

Usage

textPredictAll(models, word_embeddings, x_append = NULL, ...)

Value

A tibble with predictions.

Arguments

models

Object containing several models.

word_embeddings

List of word embeddings (if using word embeddings from more than one text-variable use dim_names = TRUE throughout the pipeline).

x_append

A tibble/dataframe with additional variables used in the training of the models (optional).

...

Settings from textPredict.

See Also

see textPredict and textTrain

Examples

Run this code
# \donttest{
# x <- Language_based_assessment_data_8[1:2, 1:2]
# word_embeddings_with_layers <- textEmbedLayersOutput(x, layers = 11:12)
# }

Run the code above in your browser using DataLab