tensorflow / tensorflow/probability

NotImplementedError: quantile is not implemented: StudentT

Open
#1,438 1 comment 3 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

Hi, all

System information

OS Platform and Distribution: Linux Ubuntu 20.04
Tensorflow version : 2.6.0
Tensorflow probability version: 0.13.0
Python version: 3.8.10

When trying to compute the well documented quantile of a Student's T distribution, the following error shows in console: NotImplementedError: quantile is not implemented: StudentT

Here is a MWE:

from tensorflow_probability import distributions as d 

t = d.StudentT(4.13, 0.0, 1.0)
t.quantile(0.2)

Thanks in advance!

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

Start by running the reported StudentT example against the documented TensorFlow Probability API and trace how StudentT handles quantile. Check the distribution implementation and existing distribution tests mentioned by the repository structure, then verify that t.quantile(0.2) returns a valid result for the reported parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.