make_generator_from_matrix | R Documentation |
Creates a Python Class that internally iterates over the data.
make_generator_from_matrix( x, y = NULL, generator = image_data_generator(), batch_size = 32L, shuffle = TRUE, seed = 1L )
x |
matrix; |
y |
vector; |
generator |
generator as e.g. obtained from 'keras::image_data_generator'. Used for consistent train-test splits. |
batch_size |
integer |
shuffle |
logical; Should data be shuffled? |
seed |
integer; seed for shuffling data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.