optimize matching scores through batching
Usage
optimize_matching(cost_matrix, batch_size = 10000, epochs = 1, verbose = TRUE)
Arguments
- cost_matrix
matrix containing mapping cost for each cell
- batch_size
int - number of cells to be assigned to each batch
- verbose
logical - output progress messages
- epoch
number of epochs to run the optimization
Value
list with best matching cell pairs (data.frame) and
total cost at each epoch