Feature Selection Using Supervised Filter-Based Methods
Overview
Tidy tools to apply filter-based supervised feature selection methods. These methods score and rank feature relevance using metrics such as p-values, correlation, and importance scores (Kuhn and Johnson (2019) doi:10.1201/9781315108230).
- Added five new scoring methods: correlation, random forest feature importance, information gain, area under the ROC curve, and cross tabulation filters.
- Transitioned from S3 to S7 and refactored S7 for improved clarity, maintainability, and performance.
- Added multiple new functions to support ranking of single score.
show_best_score_prop(),show_best_score_num(),show_best_score_cutoff(),show_best_score_dual(),rank_best_score_min()andrank_best_score_dense()can be used to select and rank single score. - Added two new functions to support ranking of multiple scores.
show_best_desirability_prop()andshow_best_desirability_num()can be used for multiparameter optimization via desirability functions. - Added multiple utility functions to support handling of both single and multiple scores:
arrange_score(),fill_safe_value(),bind_scores(), andfill_safe_values().
From NEWS.md in the release
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘arrange_score.Rd’ ‘bind_scores.Rd’ ‘fill_safe_value.Rd’ ‘fill_safe_values.Rd’ ‘show_best_score_cutoff.Rd’ ‘show_best_score_dual.Rd’ ‘show_best_score_num.Rd’ ‘show_best_score_prop.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-03-10
Documentation
- Help pages
- 24 (3 internal)includes a package overview page
- Examples that run
- 100%20 run in a plain check (19 of them under a condition)
- Exported functions with examples
- 86%
- Documented parameters
- 83%
- Return-value docs
- 91%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tidymodels/filtro on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-08-26 · The repository has a site deploy workflow
pkgdown site last built 2025-08-26
Show all practicesHide 1 practice
Dependencies
Installing filtro adds 24 packages (15 with compiled code, 21 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest2025-08-26 · current release · diff ↗ ·
removed 3 exports
get_scores_aov, new_score_obj, score_aovadded 36 exports
arrange_score, bind_scores, class_score, class_score_aov, class_score_cor, class_score_imp_rf, class_score_info_gain, class_score_list, class_score_roc_auc, class_score_xtab, dont_log_pvalues, fill_safe_value, fill_safe_values, fit, rank_best_score_dense, rank_best_score_min, required_pkgs, score_aov_fstat, score_aov_pval, score_cor_pearson, score_cor_spearman, score_gain_ratio, score_imp_rf, score_imp_rf_conditional, score_imp_rf_oblique, score_info_gain, score_roc_auc, score_sym_uncert, score_xtab_pval_chisq, score_xtab_pval_fisher and 6 more - 0.1.02025-07-18
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-07-18
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 0.5 KB / 1 file
- Download size
- 125 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("filtro")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.