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

View source: R/utils_DataManager.R

get_n_chunksR Documentation

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)

Arguments

text_embeddings

data.frame or array containing the text embeddings.

features

int Number of features within each sequence.

times

int Number of sequences.

Value

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

See Also

Other data_management_utils: create_synthetic_units_from_matrix(), get_synthetic_cases_from_matrix()


aifeducation documentation built on April 4, 2025, 2:01 a.m.