comment the redundant run_lasso in fit_itr, as it was overwritting lasso in caret algorithms#45
Conversation
…sso in caret algorithms
|
Hi @yanisvdc, thanks for bringing it up. The arguments |
|
Hi @jialul, it makes sense, however, my understanding is that, when doing:
The results, line 238 will be overwritten by the results line 322, for the algorithm "lasso", as the name is the same between caret and our custom run_lasso. The same overwrite will happen between line 516 and line 589, which is why I suggested to comment out the custom run_lasso. We could also give the custom lasso a different name like "custom_lasso" instead of "lasso" to distinguish it from the caret "lasso". I believe it would be fine to simply comment out in this case. Please let me know if that clarifies the issue or if I missed something. Thanks, |
|
Thanks for providing further info Yanis! I understand your question now. This issue has been resolved in the For now, I think it's easier to use other lasso models from |
For both cv = False and cv = True in main.R, lines 310 (sample-splitting) and 589 (k-fold cv) in the function fit_itr.