insert_nodes {DCEM} | R Documentation |
insert_nodes: Part of DCEM package.
Description
Implements the node insertion into the heaps.
Usage
insert_nodes(heap_list, heap_assn, data_probs, leaves_ind, num_clusters)
Arguments
heap_list |
(list): The nested list containing the heaps. Each entry in the list is a list maintained in max-heap structure. |
heap_assn |
(numeric): The vector representing the heap assignments. |
data_probs |
(string): A vector containing the probability for data. |
leaves_ind |
(numeric): A vector containing the indices of leaves in heap. |
num_clusters |
(numeric): The number of clusters. Default: 2 |
Value
A nested list. Each entry in the list is a list maintained in the max-heap structure.
References
Parichit Sharma, Hasan Kurban, Mehmet Dalkilic DCEM: An R package for clustering big data via data-centric modification of Expectation Maximization, SoftwareX, 17, 100944 URL https://doi.org/10.1016/j.softx.2021.100944
[Package DCEM version 2.0.5 Index]