lap
lap copied to clipboard
what does the parameter cost_limit in lapjv mean?
hello,I have no idea about parameter cost_limit in lapjv function. It is considered as an upper limit for a cost of a single assignment. Do you mean cost larger than the cost_limit will be clipped to the cost_limit edge.
cost, x, y = lap.lapjv(cost_matrix, extend_cost=True, cost_limit=thresh)
does it equal to
cost_matrix[cost_matrix > thresh] = thresh
cost, x, y = lap.lapjv(cost_matrix, extend_cost=True)
@Bilibilee I also am unclear about this. Were you able to understand?
Values larger than cost_limit
are disregarded. Which means that there will be unmatched rows.