Skip to content

Lambda automatically changed. #3

Description

@hwchang1201

Hello, how are you?

I was trying to use your code

MCP <- cv.ncpen(y.vec = Y, x.mat = as.matrix(X), family = "gaussian", penalty = "mcp", intercept = FALSE, lambda = 0.00001)
SCAD <- cv.ncpen(y.vec = Y, x.mat = as.matrix(X), family = "gaussian", penalty = "scad", intercept = FALSE, lambda = 0.00001)

But the following warning message pops up,
################
Warning message:
In control.ncpen(y.vec, x.mat, family, penalty, x.standardize, intercept, :
lambda is extended up to 0.397361543702241
################

And I could not get the desirable result. Also I could not find out what the problem is. Will you be able to look it up?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions