MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / log_likelihood_multi

Method log_likelihood_multi

hmm_class/hmmd.py:159–160  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

157 return np.array([self.likelihood(x) for x in X])
158
159 def log_likelihood_multi(self, X):
160 return np.log(self.likelihood_multi(X))
161
162 def get_state_sequence(self, x):
163 # returns the most likely state sequence given observed sequence x

Callers 1

fit_coinFunction · 0.95

Calls 1

likelihood_multiMethod · 0.95

Tested by

no test coverage detected