This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zkneupper
Recipients matthewharrison, pablogsal, rhettinger, steven.daprano, tebeka, zkneupper
Date 2021-05-18.00:09:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621296548.7.0.357171266477.issue44151@roundup.psfhosted.org>
In-reply-to
Content
> 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 with any of these pairs of terms:

Fine:
+ regressor, dependent_variable
+ independent_variable, dependent_variable
+ x, y

Bad:
+ X, y <- this wouldn't makes sense here since the first argument is always a vector and is never a matrix.


Often, capital letters indicate matrices, and lower case letters indicate vectors (or scalars). The reason that X is often capitalized is because it indicates that X is an m-by-n matrix of several independent variables; whereas y is lowercase because it is a single vector for the dependent variable. Since this linear_regression(regressor, dependent_variable) function takes a vector for the independent variable (as opposed to allowing a matrix of multiple regressors), it's probably not appropriate to use `X` (capitalized).
History
Date User Action Args
2021-05-18 00:09:08zkneuppersetrecipients: + zkneupper, rhettinger, tebeka, steven.daprano, pablogsal, matthewharrison
2021-05-18 00:09:08zkneuppersetmessageid: <1621296548.7.0.357171266477.issue44151@roundup.psfhosted.org>
2021-05-18 00:09:08zkneupperlinkissue44151 messages
2021-05-18 00:09:08zkneuppercreate