matrix_to_array_c: Reshape matrix to array

View source: R/RcppExports.R

matrix_to_array_cR Documentation

Reshape matrix to array

Description

Function written in C++ for reshaping a matrix containing sequential data into an array for use with keras.

Usage

matrix_to_array_c(matrix, times, features)

Arguments

matrix

matrix containing the sequential data.

times

uword Number of sequences.

features

uword Number of features within each sequence.

Value

Returns an array. The first dimension corresponds to the cases, the second to the times, and the third to the features.

See Also

Other Auxiliary Functions: get_alpha_3_codes(), summarize_tracked_sustainability(), to_categorical_c()


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