Skip to content

Conversation

@ckrapu
Copy link
Contributor

@ckrapu ckrapu commented Jan 18, 2026

Update Probabilistic Matrix Factorization example

Address #743 and #58, updating this notebook to run cleanly and also performing some light edits for clarity and correctness.

Helpful links

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ckrapu
Copy link
Contributor Author

ckrapu commented Jan 19, 2026

The only substantial change in the model for this notebook was a replacement of the MvNormal RVs which had a diagonal covariance matrix with independent draws from Normal instead.

One odd thing that I found was that the MAP optimization finished in <1 second on the old notebook, but took 40 seconds this time. Also, the performance difference between the mean-of-means baseline and the MAP estimate was not reproducible, but the answer we get now (MAP is closer to baseline performance instead of much worse) makes more sense to me. I also added a few bullet points to explain the dims of the various matrices.

Running MCMC for the main model takes roughly 2x as long now as well.

@ckrapu ckrapu marked this pull request as ready for review January 19, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant