[issue44151] Improve parameter names and return value ordering for linear_regression
Miki Tebeka
report at bugs.python.org
Sun May 16 23:52:59 EDT 2021
Miki Tebeka <miki.tebeka at gmail.com> added the comment:
I'm +1 on the changes proposed by Raymond.
In my teaching experience most developers who will use the built-in statistics package will have highschool level math experience.
On the other hand, they'll probably to Wikipedia and the entry there uses dependent variable and regressor (https://en.wikipedia.org/wiki/Linear_regression#Introduction)
On the third hand :) scipy (https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.linregress.html) uses slope and intercept.
I thin "Line" is a good name for the result.
----------
nosy: +tebeka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44151>
_______________________________________
More information about the Python-bugs-list
mailing list