Learn R Programming

DCEM (version 2.0.4)

insert_nodes: 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

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>.