You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Note, I intend to open a PR for this issue.
For
tidy.ridgelm
, the columns on the returned tibble are inconsistent depending on the original function call.Case 1: User DOES NOT specify an argument for lambda (i.e. single lambda is used)
Case 2: User DOES specify an argument for lambda with length > 1 (i.e. > 1 lambda is used)
Comparison
xm
is included in Case 1, but not Case 2GCV
is included in Case 2, but not Case 1Proposed Solution
GCV
column will be added to Case 1 as this matches documentation and passes strict tests #450 for related strict tests info.xm
column will be removed from Case 1 becausexm
prohibits passing of strict testsxm
column is not included in the documentation (?tidy.ridgelm
)xm
is simply the column means of the training data (?MASS:lm.ridge
) and thus does not reflect statistics specific tolm.ridge
model fit.The text was updated successfully, but these errors were encountered: