Returns a character string, summarizing the number of features and samples in the training, validation, and test data sets.

get_data_dimensions(Xtrain, Xvalid, Xtest, print = TRUE)

Arguments

Xtrain

Training data matrix or data frame.

Xvalid

Validation data matrix or data frame.

Xtest

Test data matrix or data frame.

print

Logical indicating whether or not to print the text summary to the console.

Value

A character string with the text summary of the data dimensions.