Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding betainc #129085

Open
richwomanbtc opened this issue Jun 19, 2024 · 0 comments
Open

Adding betainc #129085

richwomanbtc opened this issue Jun 19, 2024 · 0 comments
Labels
module: numpy Related to numpy support, and also numpy compatibility of our operators module: special Functions with no exact solutions, analogous to those in scipy.special triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@richwomanbtc
Copy link

richwomanbtc commented Jun 19, 2024

馃殌 The feature, motivation and pitch

betainc function is needed to calculate the cumulative density function of Student's t-distribution etc, which will be useful for the maximum liklihood estimation of probability density functions.

Ref.
#58700
scipy doc
https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.betainc.html

Alternatives

No response

Additional context

The PR #58700 is for an old code base, which cannot be merged as is and seems to be modified.
However, there are many useful components and we would like to implement betainc based on this.
Also, implementation of ohter special functions like zeta is of as a reference.
I would like to implement it with these as a starting point, but would appreciate any advice.
While tensorflow and jax have it, I want to use pytorch, and so would like to try this implementation.

cc @mruberry @rgommers @kshitij12345

@zou3519 zou3519 added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module module: numpy Related to numpy support, and also numpy compatibility of our operators module: special Functions with no exact solutions, analogous to those in scipy.special labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: numpy Related to numpy support, and also numpy compatibility of our operators module: special Functions with no exact solutions, analogous to those in scipy.special triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants