R Under development (unstable) (2024-01-14 r85805 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library("testthat") > test_check("gbm3", filter="^s") Loading required package: gbm3 The best cross-validation iteration was 30. The best test-set iteration was 30. The best cross-validation iteration was 30. A gradient boosted model with Bernoulli loss function. 30 iterations were performed. Cross-validation confusion matrix: 0 1 Pred. Acc. 0 623 0 100 1 377 0 0 Cross-validation prediction Accuracy = 62.3% Cross-validation confusion matrix: 0 1 Pred. Acc. 0 623 0 100 1 377 0 0 Cross-validation prediction Accuracy = 62.3% Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation pseudo R-squared: -3.1 Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf Summary of cross-validation residuals: 0% 25% 50% 75% 100% 0.3727498 0.4667348 0.5210784 1.4389107 1.5977016 Cross-validation robust pseudo R-squared: -Inf gbmt(formula = Y ~ X1 + X2 + X3, distribution = dist, data = data, weights = w, offset = offset, train_params = params, var_monotone = c(0, 0, 0), cv_folds = 5, keep_gbm_data = TRUE, is_verbose = FALSE) A gradient boosted model with Bernoulli loss function. 30 iterations were performed. The best cross-validation iteration was 30. The best test-set iteration was 30. There were 3 predictors of which 2 had non-zero influence. Cross-validation confusion matrix: 0 1 Pred. Acc. 0 623 0 100 1 377 0 0 Cross-validation prediction Accuracy = 62.3% gbmt(formula = Y ~ X1 + X2 + X3, distribution = dist, data = data, weights = w, offset = offset, train_params = params, var_monotone = c(0, 0, 0), cv_folds = 1, keep_gbm_data = TRUE, is_verbose = FALSE) A gradient boosted model with Bernoulli loss function. 30 iterations were performed. The best test-set iteration was 30. There were 3 predictors of which 3 had non-zero influence. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 51 ] > > proc.time() user system elapsed 2.95 0.34 3.28