assign.clusters {DBHC} | R Documentation |
Cluster Assignment
Description
Assign sequences to cluster models that give the highest sequence-to-hmm
likelihood. Used in hmm.clust
.
Usage
assign.clusters(partition, memberships, sequences, smoothing = 1e-04)
Arguments
partition |
A list object with the partition, a mixture of HMMs. Each
element in the list is an |
memberships |
A matrix with cluster memberships for each sequence. |
sequences |
An |
smoothing |
Smoothing parameter for absolute discounting in
|
Value
The updated matrix with cluster memberships for each sequence.
See Also
Used in main function for the DBHC algorithm
hmm.clust
.
[Package DBHC version 0.0.3 Index]