matrix_to_array_c {aifeducation} | R 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 |
|
times |
|
features |
|
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()
[Package aifeducation version 1.0.2 Index]