What is the role of cluster-mode in pgie config file?

please check if Setting a Confidence Algorithm - #13 by mchi helps your question.