Skip to content

Fixed quantile nan propagation and implemented nanquantile #44393

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

heitorschueroff
Copy link
Contributor

@heitorschueroff heitorschueroff commented Sep 9, 2020

Stack from ghstack:

torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: D23649613

@mruberry mruberry self-requested a review September 9, 2020 17:17
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good,

torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

[ghstack-poisoned]
heitorschueroff added a commit that referenced this pull request Sep 9, 2020
@dr-ci
Copy link

dr-ci bot commented Sep 9, 2020

💊 CI failures summary and remediations

As of commit 3eb2102 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


1 failure confirmed as flaky and can be ignored:

  • pytorch_macos_10_13_py3_test

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 45 times.

torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

[ghstack-poisoned]
heitorschueroff added a commit that referenced this pull request Sep 10, 2020
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

[ghstack-poisoned]
@codecov
Copy link

codecov bot commented Sep 11, 2020

Codecov Report

Merging #44393 into gh/heitorschueroff/10/base will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                     Coverage Diff                     @@
##           gh/heitorschueroff/10/base   #44393   +/-   ##
===========================================================
  Coverage                       68.08%   68.08%           
===========================================================
  Files                             384      384           
  Lines                           49774    49776    +2     
===========================================================
+ Hits                            33890    33892    +2     
  Misses                          15884    15884           
Impacted Files Coverage Δ
torch/overrides.py 98.05% <ø> (ø)
...ch/testing/_internal/common_methods_invocations.py 92.17% <ø> (ø)
torch/_tensor_docs.py 100.00% <100.00%> (ø)
torch/_torch_docs.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b85568a...3eb2102. Read the comment docs.

torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Differential Revision: [D23649613](https://our.internmc.facebook.com/intern/diff/D23649613)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

@heitorschueroff merged this pull request in 28085cb.

xuzhao9 pushed a commit that referenced this pull request Sep 18, 2020
Summary:
Pull Request resolved: #44393

torch.quantile now correctly propagates nan and implemented torch.nanquantile similar to numpy.nanquantile.

Test Plan: Imported from OSS

Reviewed By: albanD

Differential Revision: D23649613

Pulled By: heitorschueroff

fbshipit-source-id: 5201d076745ae1237cedc7631c28cf446be99936
@facebook-github-bot facebook-github-bot deleted the gh/heitorschueroff/10/head branch September 20, 2020 14:17
loadbxh pushed a commit to loadbxh/Torch that referenced this pull request Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants