Fit Mallows model N times and select most likely model. The EM algorithm to fit Multi-Modal Mallows' models is prone to getting stuck in local maxima, so we run it several times and selec the best one.
BestFit(datas, N, iter, G)
number of times to run the model
maximum number of iterations for each run
Number of cluster centers
data set to fit
best fitting model.