Predict scores or classification from, e.g., textTrain.

textPredict(model_info, new_data, type = NULL, ...)

Arguments

model_info

Model info (e.g., saved output from textTrain, textTrainRegression or textRandomForest).

new_data

Word embeddings from new data to be predicted from.

type

Type of prediction; e.g., "prob", "class".

...

Setting trom stats::predict can be called.

Value

Predicted scores from word embeddings.

See also

Examples

wordembeddings <- wordembeddings4 ratings_data <- Language_based_assessment_data_8