Separate leaf nodes from the heaps.
separate_data(heap_list, num_clusters)
(list): The nested list containing the heaps. Each entry in the list is a list maintained in max-heap structure.
(numeric): The number of clusters. Default: 2
A nested list where,
First entry is the list of heaps with leaves removed.
Second entry is the list of leaves.
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>.