tensorflow / tensorflow/probability

Suggesting example notebooks on LDA with tfp

Open
#1,688 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello everybody,

following the CONTRIBUTING guidelines I first open this issue for the opportunity to discuss my proposed contribution. To familiarize myself with TensorFlow Probability and Probabilistic Modelling in general I have set up some approaches on Latent Dirichlet Allocation (LDA) using 3 different approaches. I suggest adding two of the notebooks from my repo to the examples section. If this would be a valid contribution, I would shorten them, edit them to fit the style-guide, and any consider any other suggestions. The two (preliminary versions of the) notebooks are:

I am grateful for any feedback!

If this is of interest to someone: my repo also contains a custom Gibbs Sampler (defined in source file used in notebook) that fits LDA also for larger datasets by batch processing etc; but it is not very polished, this is just a fun/side project for me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the two proposed notebooks, tfp_monte_carlo.ipynb and tfp_variational_inference.ipynb, in the linked topicflow repository, then compare them with tensorflow_probability/examples/jupyter_notebooks and CONTRIBUTING.md. Confirm whether the examples fit the repository’s style and scope; done means the selected notebooks are shortened, edited to match the style guide, and accepted for the examples section.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
documentation, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.