-
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
Restrict condition to only when my_lambda = NULL #57
Comments
Hi Theo, Thanks for testing and reporting. I'm trying to wrap my head around your, but what I'm thinking right now is that if |
I think we can move the line "stopifnot(nlambda <= maxgrid)" from the current position into "if (is.null(my_lambda))". This should solve the problem. |
OK, will do. |
I have just finished going through everything, including setting cl>1 and the results are now good with no error messages. I also can tell that the C++ performs quite well with cl=4.
Best regards,Theo
On Tuesday, September 3, 2024 at 06:50:18 AM GMT+2, Waldir Leoncio ***@***.***> wrote:
OK, will do.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Wonderful to hear! :) |
Hello Waldir,
Now the plots function works for both the R and C++.
I tried the cv_MADMMplasso but had a problem because the new line we have included;
Validation
stopifnot(nlambda <= maxgrid)
The cv_MADMMplasso does not need maxgrid so I think the condition should placed inside
if (is.null(my_lambda))
With this, the MADMMplasso call in the cv_MADMMplasso will not use maxgrid but the following;
} else {
lambda_i <- my_lambda
gg1 <- gg
gg <- gg1
}
Best regards,
Theo
The text was updated successfully, but these errors were encountered: