You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand this error - which seems to occur when re-constructing a sparse matrix on small-sample data and perhaps with small values of lambda.
It seems that the only difference when passing the correlation matrix seems to be the maxdf is d rather than n.
The error seems to be coming from this block: https://github.com/HMJiangGatech/huge/blob/master/R/huge.mb.R#L107-L120
It seems perhaps the for loop is trying to index values that aren't there - perhaps because maxdf isn't large enough (in which case I don't understand the purpose of the parameter).
The text was updated successfully, but these errors were encountered:
zdk123
changed the title
Error in validObject for huge.mb for small sample datavalidObject Error in huge.mb for small sample data
Jan 15, 2022
I'm trying to understand this error - which seems to occur when re-constructing a sparse matrix on small-sample data and perhaps with small values of lambda.
Reproduce the error:
Interestingly, small tweaks to the lambda path seem to run OK.
and if we pass in the correlation matrix directly, previously failed are OK
It seems that the only difference when passing the correlation matrix seems to be the
maxdf
isd
rather thann
.The error seems to be coming from this block:
https://github.com/HMJiangGatech/huge/blob/master/R/huge.mb.R#L107-L120
It seems perhaps the for loop is trying to index values that aren't there - perhaps because
maxdf
isn't large enough (in which case I don't understand the purpose of the parameter).The text was updated successfully, but these errors were encountered: