-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
When I use row.idx I get the error
Error in [<-(*tmp*, cv.ind == i, 1:res$nl, value = res$loss) : (subscript) logical subscript too long
Maybe this error is related to line 87 being commented?
y <- fit$y # this would cause error if eval.metric == "MAPE"
Code that causes error:
train <- sample(c(T,F), size, c(.5,.5), replace = TRUE)
fit$blasso <- cv.biglasso(X = x, y = y, row.idx = which(train), penalty = "lasso", family = "binomial", nfolds = 10)
If I take "row.idx = which(train)" out it runs without any errors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels