search for: dgcbeta

Displaying 1 result from an estimated 1 matches for "dgcbeta".

Did you mean: dbeta
2011 Dec 27
1
differences between 1.7 and 1.7.1 glmnet versions
...DK >############# glmnet 1.7.1 > library(glmnet) Loading required package: Matrix Loading required package: lattice Loaded glmnet 1.7.1 > set.seed(1) > x=matrix(rnorm(40*500),40,500) > g4=sample(1:7,40,replace=TRUE) > fit=glmnet(x,g4,family="multinomial",alpha=0.1) > dgcBeta<- fit$beta[[1]] > which=nonzeroCoef(dgcBeta) > which [1] 1 12 15 17 19 20 34 39 42 58 60 62 63 65 71 72 73 77 [19] 80 82 85 86 95 97 98 99 106 110 113 114 119 120 123 124 128 130 [37] 136 138 139 143 148 149 151 160 161 162 173 174 175 176 177 183 186 187 [55]...