Update the probability values for specific data points that change between the heaps.
update_weights(temp_weights, weights, index_list, num_clusters)
(matrix): A matrix of probabilistic weights for leaf data.
(matrix): A matrix of probabilistic weights for all data.
(vector): A vector of indices.
(numeric): The number of clusters.
Updated probabilistic weights matrix.
Using data to build a better EM: EM* for big data.
Hasan Kurban, Mark Jenne, Mehmet M. Dalkilic (2016) <https://doi.org/10.1007/s41060-017-0062-1>.