For each trajectory, the probability of the assigned cluster is 1.

postprobFromAssignments(assignments, k)

Arguments

assignments

Integer vector indicating cluster assignment per trajectory

k

The number of clusters.