Package: adabag 5.0

adabag: Applies Multiclass AdaBoost.M1, SAMME and Bagging

It implements Freund and Schapire's Adaboost.M1 algorithm and Breiman's Bagging algorithm using classification trees as individual classifiers. Once these classifiers have been trained, they can be used to predict on new data. Also, cross validation estimation of the error can be done. Since version 2.0 the function margins() is available to calculate the margins for these classifiers. Also a higher flexibility is achieved giving access to the rpart.control() argument of 'rpart'. Four important new features were introduced on version 3.0, AdaBoost-SAMME (Zhu et al., 2009) is implemented and a new function errorevol() shows the error of the ensembles as a function of the number of iterations. In addition, the ensembles can be pruned using the option 'newmfinal' in the predict.bagging() and predict.boosting() functions and the posterior probability of each class for observations can be obtained. Version 3.1 modifies the relative importance measure to take into account the gain of the Gini index given by a variable in each tree and the weights of these trees. Version 4.0 includes the margin-based ordered aggregation for Bagging pruning (Guo and Boukir, 2013) and a function to auto prune the 'rpart' tree. Moreover, three new plots are also available importanceplot(), plot.errorevol() and plot.margins(). Version 4.1 allows to predict on unlabeled data. Version 4.2 includes the parallel computation option for some of the functions. Version 5.0 includes the Boosting and Bagging algorithms for label ranking (Albano, Sciandra and Plaia, 2023).

Authors:Alfaro, Esteban; Gamez, Matias and Garcia, Noelia; with contributions from L. Guo, A. Albano, M. Sciandra and A. Plaia

adabag_5.0.tar.gz
adabag_5.0.zip(r-4.5)adabag_5.0.zip(r-4.4)adabag_5.0.zip(r-4.3)
adabag_5.0.tgz(r-4.5-any)adabag_5.0.tgz(r-4.4-any)adabag_5.0.tgz(r-4.3-any)
adabag_5.0.tar.gz(r-4.5-noble)adabag_5.0.tar.gz(r-4.4-noble)
adabag_5.0.tgz(r-4.4-emscripten)adabag_5.0.tgz(r-4.3-emscripten)
adabag.pdf |adabag.html
adabag/json (API)

# Install 'adabag' in R:
install.packages('adabag', repos = c('https://esteban-alfaro.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.46 score 5 stars 6 packages 720 scripts 4.5k downloads 16 mentions 19 exports 103 dependencies

Last updated 2 years agofrom:a30f216048. Checks:6 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 22 2025
R-4.5-winNOTEMar 22 2025
R-4.5-macNOTEMar 22 2025
R-4.5-linuxNOTEMar 22 2025
R-4.4-winOKMar 22 2025
R-4.4-macOKMar 22 2025
R-4.4-linuxOKMar 22 2025
R-4.3-winOKMar 22 2025
R-4.3-macOKMar 22 2025

Exports:autoprunebaggingbagging.cvboostingboosting.cvEnsemble_ranking_IWentropyEachTree.baggingerrorevolerrorevol_ranking_vector_IWimportanceplotMarginOrderedPruning.Baggingmarginsplot.errorevolplot.marginspredict.baggingpredict.boostingpredictOrderedAggregation.baggingprep_datavote.bagging

Dependencies:base64encbslibcachemcaretclasscliclockcodetoolscolorspaceConsRankcpp11data.tablediagramdigestdoParalleldplyre1071evaluatefansifarverfastmapfontawesomeforeachfsfuturefuture.applygenericsggplot2globalsgluegowergtablegtoolshardhathighrhtmltoolshtmlwidgetsipredisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmemoisemgcvmimeModelMetricsmunsellnlmennetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6rappdirsRColorBrewerRcpprecipesreshape2rglrlangrlistrmarkdownrpartsassscalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetinytextzdbutf8vctrsviridisLitewithrxfunXMLyaml