The function returns a split index based on the split data.frame passed to the workers.

get_split_index(db, cores)

Arguments

db

A data.frame() or tibble() containing the data

cores

An integer indicating the number of cores to use in estimation

Value

A list of row-indexes that can be used to split matrixes to different cores