Skip to content

Sparse Wrapper Algorithm

0packages depend
2.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

An algorithm that trains a meta-learning procedure that combines screening and wrapper methods to find a set of extremely low-dimensional attribute combinations. This package works on top of the 'caret' package and proceeds in a forward-step manner. More specifically, it builds and tests learners starting from very few attributes until it includes a maximal number of attributes by increasing the number of attributes at each step. Hence, for each fixed number of attributes, the algorithm tests various (randomly selected) learners and picks those with the best performance in terms of training error. Throughout, the algorithm uses the information coming from the best learners at the previous step to build and test learners in the following step. In the end, it outputs a set of strong low-dimensional learners.

Changes in 0.1.0

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK, 1 FAILURE2026-06-08
  • NOTE12 OK, 1 NOTE2026-06-07
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 1,103 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
3
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
50%
Help pages citing references
33% with a bibliography file
Vignettes (1)

Downloads

2.7K
CRAN downloads in the past year
Rank #14,732 · ~7/day · ~221/mo
Daily download trend is not available in this view yet.
27630 days
82090 days
2.7K1 year
Compare downloads with other packages →
Also on63 r2u6 autocran

Repository

Moved from smac-group/swag-r-package.

2Stars
2Forks
1Open issues
0Open PRs
1Releases
120Commits
6Commit identities
machine-learning
120 commits · Last activity 2023-08-22 · Default branch at 0.1.1, ahead of CRAN 0.1.0 (checked 2026-10-22)
Responsiveness
not measured

Commit identities over time

2026-07-19 · 72026-09-27 · 6
PracticesBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/smac-group/swag-r-package on 2026-10-22.

Continuous integration (1)
Travis CI (config file)
Docs source (1)
README.Rmd
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing swag adds 65 packages (35 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.0.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (5)
Author, Maintainer since 0.1.0 (2020)
Contributor
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0Latest
    2020-11-10 · current release
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-10
Total releases
1 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0.0
Download size
44 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("swag")
Orso, S., Bakalli, G., Guerrier, S., Miglioli, C., & Molinari, R. (2020). swag: Sparse Wrapper Algorithm (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.swag

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for swag version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy