Learn R Programming

aifeducation (version 1.0.2)

get_n_chunks: Get the number of chunks/sequences for each case

Description

Function for calculating the number of chunks/sequences for every case.

Usage

get_n_chunks(text_embeddings, features, times)

Value

Namedvector of integers representing the number of chunks/sequences for every case.

Arguments

text_embeddings

data.frame or array containing the text embeddings.

features

int Number of features within each sequence.

times

int Number of sequences.

See Also

Other data_management_utils: create_synthetic_units_from_matrix(), get_synthetic_cases_from_matrix()