Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue37798

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add C fastpath for statistics.NormalDist.inv_cdf()
Type:Stage:resolved
Components:Extension ModulesVersions:Python 3.9, Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: rhettingerNosy List: corona10, rhettinger, steven.daprano, taleinat
Priority:normalKeywords:easy (C), patch

Created on2019-08-09 04:43 byrhettinger, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 15266mergedcorona10,2019-08-14 06:36
PR 15441mergedmiss-islington,2019-08-23 22:20
PR 15453mergedcorona10,2019-08-24 08:37
PR 15467mergedmiss-islington,2019-08-24 17:51
PR 15526mergedrhettinger,2019-08-26 18:03
PR 15527mergedmiss-islington,2019-08-26 18:26
PR 15546mergedcorona10,2019-08-27 08:58
PR 15660mergedmiss-islington,2019-09-03 09:22
PR 16149mergedrhettinger,2019-09-14 18:19
PR 16160mergedmiss-islington,2019-09-15 16:37
Messages (18)
msg349273 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-09 04:43
Create new module:Modules/_statisticsmodule.cAdd a function:    _normal_dist_inv_cdf(p, mu, sigma) |-> xMostly, it should be a cut-and-paste from the pure Python version, just add argument processing and semi-colons.Expect to measure a manyfold speedup.
msg349521 -(view)Author: Dong-hee Na (corona10)*(Python committer)Date: 2019-08-13 05:30
@rhettingerHi, Can I work on this issue?It might be my first C module addition task for CPython.
msg349527 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-13 06:33
> Can I work on this issue?  > It might be my first C module addition task for CPython.Yes.  This issue would be a good place to start.
msg350335 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-23 22:20
New changeset0a18ee4be7ba215f414bef04598e0849504f9f1e by Raymond Hettinger (Dong-hee Na) in branch 'master':bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266)https://github.com/python/cpython/commit/0a18ee4be7ba215f414bef04598e0849504f9f1e
msg350336 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-23 22:39
New changeset5779c536321e1405b4c17654a85b8f9221be765e by Raymond Hettinger (Miss Islington (bot)) in branch '3.8':bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) (GH-15441)https://github.com/python/cpython/commit/5779c536321e1405b4c17654a85b8f9221be765e
msg350337 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-23 22:41
Thanks for doing the work one this.  Nice work :-)There's one more step.  Can you please amend to the tests to run both the pure python and C versions.  SeeLib/test/test_heapq.py for an example of how to this.
msg350338 -(view)Author: Dong-hee Na (corona10)*(Python committer)Date: 2019-08-23 23:22
> There's one more step.  Can you please amend to the tests to run both the> pure python and C versions.Sure, I will take look at it!
msg350384 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-24 17:51
New changeset8ad22a42267d4ecb1c080d420933680cc126363e by Raymond Hettinger (Dong-hee Na) in branch 'master':bpo-37798: Test both Python and C versions in test_statistics.py (GH-15453)https://github.com/python/cpython/commit/8ad22a42267d4ecb1c080d420933680cc126363e
msg350389 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-24 18:14
New changesetd5a66bc56f68d0f7cc3470722a31d7f731754af6 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8':bpo-37798: Test both Python and C versions in test_statistics.py (GH-15453) (GH-15467)https://github.com/python/cpython/commit/d5a66bc56f68d0f7cc3470722a31d7f731754af6
msg350390 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-24 18:14
Thank you again.  This was nice work.
msg350403 -(view)Author: Dong-hee Na (corona10)*(Python committer)Date: 2019-08-24 22:35
Thank you for the mentoring of this work. It was great experience for me!
msg350558 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-26 18:26
New changeset6fee0f8ea72fa68155a32b33b6c0ed9e5a740e45 by Raymond Hettinger in branch 'master':bpo-37798: Minor code formatting and comment clean-ups. (GH-15526)https://github.com/python/cpython/commit/6fee0f8ea72fa68155a32b33b6c0ed9e5a740e45
msg350561 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-08-26 19:10
New changeset56c4d2d057de0dcb968148fa1286e587e91f5c91 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8':bpo-37798: Minor code formatting and comment clean-ups. (GH-15526) (GH-15527)https://github.com/python/cpython/commit/56c4d2d057de0dcb968148fa1286e587e91f5c91
msg350794 -(view)Author: Dong-hee Na (corona10)*(Python committer)Date: 2019-08-29 16:01
@rhettingerIf you are okay, Can you reviewPR 15546, please?IMHO, this issue should be fixed ASAP...Thanks again
msg351078 -(view)Author: Tal Einat (taleinat)*(Python committer)Date: 2019-09-03 09:21
New changeset0cf832a9ef84be6e18aad02464814530d80b82b2 by Tal Einat (Dong-hee Na) in branch 'master':bpo-37798: Fix _statistics module doc (GH-15546)https://github.com/python/cpython/commit/0cf832a9ef84be6e18aad02464814530d80b82b2
msg351079 -(view)Author: Tal Einat (taleinat)*(Python committer)Date: 2019-09-03 10:22
New changeset58067d2cf6e81187f9782aff03cc8bec3d878778 by Tal Einat (Miss Islington (bot)) in branch '3.8':bpo-37798: Fix _statistics module doc (GH-15546)https://github.com/python/cpython/commit/58067d2cf6e81187f9782aff03cc8bec3d878778
msg352479 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-09-15 16:36
New changeset6e27a0d77520bf2c4412e367496212510f81b983 by Raymond Hettinger in branch 'master':bpo-37798: Prevent undefined behavior in direct calls to the C helper function. (#16149)https://github.com/python/cpython/commit/6e27a0d77520bf2c4412e367496212510f81b983
msg352481 -(view)Author: Raymond Hettinger (rhettinger)*(Python committer)Date: 2019-09-15 17:04
New changesetd6fdfc82dd307161ca2222ae938b7a6c85215bc1 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8':bpo-37798: Prevent undefined behavior in direct calls to the C helper function. (GH-16149) (GH-16160)https://github.com/python/cpython/commit/d6fdfc82dd307161ca2222ae938b7a6c85215bc1
History
DateUserActionArgs
2022-04-11 14:59:18adminsetgithub: 81979
2019-09-15 17:04:03rhettingersetmessages: +msg352481
2019-09-15 16:37:05miss-islingtonsetpull_requests: +pull_request15770
2019-09-15 16:36:41rhettingersetmessages: +msg352479
2019-09-14 18:19:38rhettingersetpull_requests: +pull_request15759
2019-09-03 10:22:06taleinatsetmessages: +msg351079
2019-09-03 09:22:12miss-islingtonsetpull_requests: +pull_request15326
2019-09-03 09:21:52taleinatsetnosy: +taleinat
messages: +msg351078
2019-08-29 16:01:49corona10setmessages: +msg350794
2019-08-27 08:58:58corona10setpull_requests: +pull_request15223
2019-08-26 19:10:03rhettingersetmessages: +msg350561
2019-08-26 18:26:13miss-islingtonsetpull_requests: +pull_request15209
2019-08-26 18:26:00rhettingersetmessages: +msg350558
2019-08-26 18:03:51rhettingersetpull_requests: +pull_request15208
2019-08-24 22:35:09corona10setmessages: +msg350403
2019-08-24 18:14:59rhettingersetstatus: open -> closed
resolution: fixed
messages: +msg350390

stage: patch review -> resolved
2019-08-24 18:14:24rhettingersetmessages: +msg350389
2019-08-24 17:58:16rhettingersetassignee:rhettinger
2019-08-24 17:51:31miss-islingtonsetpull_requests: +pull_request15159
2019-08-24 17:51:25rhettingersetmessages: +msg350384
2019-08-24 08:37:47corona10setpull_requests: +pull_request15146
2019-08-23 23:22:51corona10setmessages: +msg350338
2019-08-23 22:58:04rhettingersetversions: + Python 3.8
2019-08-23 22:41:39rhettingersetmessages: +msg350337
2019-08-23 22:39:30rhettingersetmessages: +msg350336
2019-08-23 22:20:45miss-islingtonsetpull_requests: +pull_request15134
2019-08-23 22:20:35rhettingersetmessages: +msg350335
2019-08-14 06:36:11corona10setkeywords: +patch
stage: patch review
pull_requests: +pull_request14987
2019-08-13 06:33:48rhettingersetmessages: +msg349527
2019-08-13 05:30:22corona10setnosy: +corona10
messages: +msg349521
2019-08-09 04:43:26rhettingercreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp