gboris / blkbox

Data exploration with multiple machine learning algorithms
14 stars 4 forks source link

unable to find an inherited method for function ‘varimp’ for signature ‘"RandomForest"’ In addition: #23

Closed gboris closed 8 years ago

gboris commented 8 years ago

blackbox_output_small1 = blkboxNCV(data = dataset_small, labels = labels, outerfolds = 5, innerfolds = 5, Method = "GLM", AUC = 0.5, metric = c("ERR", "AUROC", "ACC"), exclude = c(1:3,5:8)) Folds were reshufled 0 times. 5 nested fold cross validation with 2 folds of 13 and 3 folds of 12 5 fold cross validation with 4 folds of 10 and 1 folds of 9 No seed list provided, seeds are: 78.6085722912103 Shuffle: 1 of 1 Fold: 1 Shuffle: 1 of 1 Fold: 2 Shuffle: 1 of 1 Fold: 3 Shuffle: 1 of 1 Fold: 4 Shuffle: 1 of 1 Fold: 5 5 fold cross validation with 4 folds of 10 and 1 folds of 9 No seed list provided, seeds are: 96.3176944139414 Shuffle: 1 of 1 Fold: 1 Shuffle: 1 of 1 Fold: 2 Shuffle: 1 of 1 Fold: 3 Shuffle: 1 of 1 Fold: 4 Shuffle: 1 of 1 Fold: 5 Show Traceback

Rerun with Debug Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘varimp’ for signature ‘"RandomForest"’ In addition: Warning messages: 1: In lognet(x, is.sparse, ix, jx, y, weights, offset, alpha, nobs, : one multinomial or binomial class has fewer than 8 observations; dangerous ground 2: In lognet(x, is.sparse, ix, jx, y, weights, offset, alpha, nobs, : one multinomial or binomial class has fewer than 8 observations; dangerous ground 3: In lognet(x, is.sparse, ix, jx, y, weights, offset, alpha, nobs, : one multinomial or binomial class has fewer than 8 observations; dangerous ground 4: from glmnet Fortran code (error code -90); Convergence for 90th lambda value not reached after maxit=100000 iterations; solutions for larger lambdas returned 5: from glmnet Fortran code (error code -76); Convergence for 76th lambda value not reached after maxit=100000 iterations; solutions for larger lambdas returned