Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ em.py
File
em.py
bayesian_ml/2/em.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# expectation-maximization for the model:
2
# x(n) ~ N(Wz(n), sigma**2 I) (observed variables)
3
# z(n) ~ N(0, I) (latent variables)
4
# W ~ N(0, 1/lambda)
Callers
nothing calls this directly
Calls
1
loglikelihood
Function · 0.85
Tested by
no test coverage detected