Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ random_normalized
Function
random_normalized
hmm_class/hmmc_concat.py:19–21 ·
view source on GitHub ↗
(d1, d2)
Source
from the content-addressed store, hash-verified
17
from
scipy.stats
import
multivariate_normal
as
mvn
18
19
def
random_normalized(d1, d2):
20
x = np.random.random((d1, d2))
21
return
x / x.sum(axis=1, keepdims=True)
22
23
24
class
HMM:
Callers
1
fit
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected