assign.clusters: Cluster Assignment

Description Usage Arguments Value See Also

Description

Assign sequences to cluster models that give the highest sequence-to-hmm likelihood. Used in hmm.clust.

Usage

1
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 hmm object (see build_hmm).

memberships

A matrix with cluster memberships for each sequence.

sequences

An stslist object (see seqdef) of sequences with discrete observations.

smoothing

Smoothing parameter for absolute discounting in smooth.probabilities.

Value

The updated matrix with cluster memberships for each sequence.

See Also

Used in main function for the DBHC algorithm hmm.clust.


DBHC documentation built on May 2, 2019, 10:35 a.m.