msmbuilder.SCRE.MaximizeRateLikelihood

msmbuilder.SCRE.MaximizeRateLikelihood(parameters, mapping, populations, C, K0)[source]

Maximize the likelihood of a rate matrix given assignment data.

Parameters:

parameters : list

List of values of K[i,j] at locations in mapping.

mapping : list

List of nonzero (i,j) elements such that i > j.

C : ndarray

Array of observed counts

K0 : ndarray

Initial rate matrix.

Returns:

ans : ndarray

Final rate matrix.

Versions