MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / random_normalized

Function random_normalized

hmm_class/hmmd_theano.py:17–19  ·  view source on GitHub ↗
(d1, d2)

Source from the content-addressed store, hash-verified

15
16
17def random_normalized(d1, d2):
18 x = np.random.random((d1, d2))
19 return x / x.sum(axis=1, keepdims=True)
20
21
22class HMM:

Callers 1

fitMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected