View source: R/utils_python_data_management.R
| get_batches_index | R Documentation |
Function groups cases into batches.
get_batches_index(number_rows, batch_size, zero_based = FALSE)
number_rows |
|
batch_size |
|
zero_based |
|
Returns a list of batches. Each entry in the list contains a vector of int representing the cases
belonging to that batch.
Other Utils Python Data Management Developers:
class_vector_to_py_dataset(),
data.frame_to_py_dataset(),
prepare_r_array_for_dataset(),
py_dataset_to_embeddings(),
reduce_to_unique(),
tensor_list_to_numpy(),
tensor_to_numpy()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.