Implements the node insertion into the heaps.
insert_nodes(heap_list, heap_assn, data_probs, leaves_ind, num_clusters)
(list): The nested list containing the heaps. Each entry in the list is a list maintained in max-heap structure.
(numeric): The vector representing the heap assignments.
(string): A vector containing the probability for data.
(numeric): A vector containing the indices of leaves in heap.
(numeric): The number of clusters. Default: 2
A nested list. Each entry in the list is a list maintained in the max-heap structure.
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>.