-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ready for documentation work #16
Conversation
Literally commited the output of `styler::style_pkg()`.
This should fix check issues compiling on Windows. Apparently, the former is not a standard type, but the latter is (https://stackoverflow.com/a/5678057/1169233).
Some functions had names containing periods, which confuses with S3 dot notation. Others had different cases (snake case, camel case), which may confuse users.
Facilitates development and maintenance while preventing merge conflicts
This avoids confusion with dot-notation.
Hello Waldir, Error: Not compatible with requested type: [type=S4; target=double]. Theo |
Hello Waldir,I have merged the new PR and has corrected the error I found with the CV_MADMMplasso. It was actually the predict.MADMMplasso that had a little issue because of the output from model_p function, which is now a cpp function.
There is one observation so far with the recent version. It seems the C++ is now very slower than the R when I run with the example on github (setting p=500 and nlambda=50). I don't know wether it is due to the back and forth between C++ and R for each lambda.
You can check this by calling the MADMMplasso function and set legacy=T or F (I have included this in the call).
I hope to complete the documentation soon.
Best regards,Theo
Theophilus Quachie Asenso, PhDPost-doctoral research fellowUniversity of Oslo, Norway+4797358955
On Thursday, November 30, 2023 at 07:21:37 AM GMT+1, Waldir Leoncio ***@***.***> wrote:
@wleoncio requested your review on: #16 Ready for documentation work.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID: ***@***.***>
|
Thanks, I'll open an issue from your comment above regarding the performance. We can work on it at the same time as the documentation. |
Hi Theo,
This PR contains all the changes we discussed yesterday. Please review and test the code carefully, noticing that some of your external scripts may not work since some function changed names (capitalization was standardized).
Once this is merged, all we need to submit to cran is to work on issues #5 and #12, and possibly #15. Decided to split this into fewer PRs than what I said yesterday because it felt less confusing to me to do it like this, hope that's ok. :)
Summary of commits
uint
tounsigned int
(Minor documentation adjustments for CRAN #13)cv.MADMMplasso
class ascv_MADMMplasso
(Minor documentation adjustments for CRAN #13)/inst/examples
(Minor documentation adjustments for CRAN #13)To test this PR
Please run the code below to install and review this version of MADMMplasso: