textPredictAll: Predict from several models, selecting the correct input

View source: R/2_4_textPredict.R

textPredictAllR Documentation

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, ...)

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.

Value

A tibble with predictions.

See Also

see textPredict and textTrain

Examples


# x <- Language_based_assessment_data_8[1:2, 1:2]
# word_embeddings_with_layers <- textEmbedLayersOutput(x, layers = 11:12)


text documentation built on Aug. 9, 2023, 5:08 p.m.