[issue44151] Improve parameter names and return value ordering for linear_regression

2021-05-18 Thread Zachary Kneupper
Zachary Kneupper added the comment: > Any objections to linear_regression(x, y) -> (slope, intercept)? I think `linear_regression(x, y)` would be intuitive for a wide range of users. Just to clarify, is the proposal to return a regular tuple instead of named tuple? Would

[issue37439] Add random.binomialvariate()

2021-05-18 Thread Zachary Kneupper
Zachary Kneupper added the comment: Is adding random.binomialvariate() still under consideration? I would be willing to work on this addition to Lib/random.py, as well as the accompanying tests and docs. Should I use the type of algorithm hinted at by Mark on 2019-07-01 17:56

[issue44151] Improve parameter names and return value ordering for linear_regression

2021-05-17 Thread Zachary Kneupper
Zachary Kneupper added the comment: > The ML world has collapsed on the terms X and y. (With that > capitalization). The ML community will probably use 3rd party packages for their linear regressions in any case. In my estimation, the ML community would be comfortable wi

[issue44151] Improve parameter names and return value ordering for linear_regression

2021-05-17 Thread Zachary Kneupper
Change by Zachary Kneupper : -- keywords: +patch nosy: +zkneupper nosy_count: 5.0 -> 6.0 pull_requests: +24816 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26199 ___ Python tracker <https://bugs.python.org/i

[issue30274] Rename 'name' to 'fullname' argument to ExtensionFileLoader

2021-05-17 Thread Zachary Kneupper
Change by Zachary Kneupper : -- keywords: +patch nosy: +zkneupper nosy_count: 4.0 -> 5.0 pull_requests: +24812 pull_request: https://github.com/python/cpython/pull/26195 ___ Python tracker <https://bugs.python.org/issu

[issue44135] issubclass documentation doesn't explain tuple semantic

2021-05-17 Thread Zachary Kneupper
Change by Zachary Kneupper : -- keywords: +patch nosy: +zkneupper nosy_count: 3.0 -> 4.0 pull_requests: +24810 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26193 ___ Python tracker <https://bugs.python.org/i