{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5413","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5413/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5413/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5413/events","html_url":"https://github.com/tensorflow/tensorflow/issues/5413","id":187495045,"number":5413,"title":"StudentT.cdf() bug","user":{"login":"icouckuy","id":177595,"avatar_url":"https://avatars.githubusercontent.com/u/177595?v=3","gravatar_id":"","url":"https://api.github.com/users/icouckuy","html_url":"https://github.com/icouckuy","followers_url":"https://api.github.com/users/icouckuy/followers","following_url":"https://api.github.com/users/icouckuy/following{/other_user}","gists_url":"https://api.github.com/users/icouckuy/gists{/gist_id}","starred_url":"https://api.github.com/users/icouckuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icouckuy/subscriptions","organizations_url":"https://api.github.com/users/icouckuy/orgs","repos_url":"https://api.github.com/users/icouckuy/repos","events_url":"https://api.github.com/users/icouckuy/events{/privacy}","received_events_url":"https://api.github.com/users/icouckuy/received_events","type":"User","site_admin":false},"labels":[{"id":299643928,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/contributions%20welcome","name":"contributions welcome","color":"009800","default":false},{"id":473173272,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature","name":"type:feature","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-05T12:44:26Z","updated_at":"2016-11-07T18:25:38Z","closed_at":null,"body":"With the TF0.11 rc2 (also with rc0) I get the following error while trying to evaluate the CDF of the StudentT distribution:\r\n```\r\n----> 1 a.cdf(5.0)\r\n\r\n/home/ilm/.local/lib/python2.7/site-packages/tensorflow/contrib/distributions/python/ops/distribution.pyc in cdf(self, value, name)\r\n    496         values of type `self.dtype`.\r\n    497     \"\"\"\r\n--> 498     self._check_hasattr(self._cdf)\r\n    499     with self._name_scope(name, values=[value]):\r\n    500       value = ops.convert_to_tensor(value, name=\"value\")\r\n\r\nAttributeError: 'StudentT' object has no attribute '_cdf'\r\n\r\n```\r\nIs the CDF of StudentT supported? According to the docs it should:\r\nhttps://www.tensorflow.org/versions/r0.11/api_docs/python/contrib.distributions.html#StudentT\r\n\r\nMWE:\r\n```\r\nimport tensorflow as tf\r\na = tf.contrib.distributions.StudentT(5.0, 0.0, 1.0)\r\na.cdf(5.0)\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/258918927","html_url":"https://github.com/tensorflow/tensorflow/issues/5413#issuecomment-258918927","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5413","id":258918927,"user":{"login":"aselle","id":326106,"avatar_url":"https://avatars.githubusercontent.com/u/326106?v=3","gravatar_id":"","url":"https://api.github.com/users/aselle","html_url":"https://github.com/aselle","followers_url":"https://api.github.com/users/aselle/followers","following_url":"https://api.github.com/users/aselle/following{/other_user}","gists_url":"https://api.github.com/users/aselle/gists{/gist_id}","starred_url":"https://api.github.com/users/aselle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aselle/subscriptions","organizations_url":"https://api.github.com/users/aselle/orgs","repos_url":"https://api.github.com/users/aselle/repos","events_url":"https://api.github.com/users/aselle/events{/privacy}","received_events_url":"https://api.github.com/users/aselle/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T18:25:38Z","updated_at":"2016-11-07T18:25:38Z","body":"It's not implemented as of nightly.\r\n``` \r\n>>> import tensorflow as tf\r\n>>> a = tf.contrib.distributions.StudentT(5.0, 0.0, 1.0)\r\n>>> a.cdf(5.0)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/distributions/python/ops/distribution.py\", line 706, in cdf\r\n    raise original_exception\r\nNotImplementedError: cdf is not implemented\r\n```\r\nContributions are welcome.  From @brianwa84's original checkin:\r\n```\r\nAdds Student's t distribution to tf.contrib.distributions\r\nLeaving out the cdf for now, as it requires incomplete beta, not available in eigen at the moment.\r\n```\r\n"}}
{"actor":{"display_login":"aselle"}}