tensorflow / tensorflow/probability
Entropy is not implemented: Multinomial
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
System information
- TensorFlow version: 2.0.0-dev20190529
- TensorFlow probability version: 0.7.0-dev20190529
Current behavior
I tried running the entropy() call as stated in the https://www.tensorflow.org/probability/api_docs/python/tfp/distributions/Multinomial#entropy but I am getting a NotImplementedError
Expected behavior
I haven't checked the code but I assume since this was in the tfp api_docs the entropy for multinomial is implemented and is a bug, otherwise, if it is not implemented, we should fix the docs
Code to reproduce the issue
coin = tfd.Multinomial(total_count=60., probs=[1/6.]*6).entropy()
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the provided Python reproduction for tfd.Multinomial(total_count=60., probs=[1/6.]*6).entropy() and compare it with the linked Multinomial entropy API documentation. Inspect the Multinomial entropy entry point and determine whether the documented operation should work; done means the call no longer raises NotImplementedError or the documentation accurately reflects its support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100