Skip to contents

Function transforming an array to a matrix.

Usage

array_to_matrix(text_embedding)

Arguments

text_embedding

array containing the text embedding. The array should be created via an object of class TextEmbeddingModel.

Value

Returns a matrix which contains the cases in the rows and the columns represent the features of all sequences. The sequences are concatenated.