featR 0.2.0

A correctness release. Two adversarial reviews of every function and every documentation page found and fixed silent wrong answers, hangs, crashes, and inaccurate claims. Fixes that change behavior are listed first under each review. Where a result changed, the old result was wrong.

First adversarial review

A full statistical, methodological, and programmatic review. Every finding was reproduced in R before it was fixed, and each fix has a regression test. This round also added the pkgdown site’s guides and articles.

Behavior changes

Statistical corrections

Bug fixes

Second adversarial review

A second review, then a sweep of every bug class it found across the whole package. Every finding was reproduced in R by one checker and confirmed by a second before it was fixed, and each fix has a regression test.

Behavior changes

Statistical corrections

Bug fixes

featR 0.1.0

First release. Unifies the feature_selection script collection into a package with 16 exported fs_*() functions (plus the selected() accessor) sharing one calling convention and one return type.

Calling convention

All selection functions take the form:

fs_<method>(data, target, <method options>, ...)

data is always first and target (a single column-name string) always second, for the functions that have an outcome. Housekeeping arguments come last: every function takes verbose, functions that use randomness take seed = NULL, and functions that can run in parallel take n_cores and/or parallel. This replaces the previous mix of response_col, target_var, target_col, responseName, response_var, dependent_var, and x/y argument pairs. Other renames: p -> train_ratio, predictor_cols -> predictors, out -> output, log_progress/show_progress/doTrace -> verbose, cores/temp_multisession -> n_cores, and control$split_ratio -> control$train_ratio in fs_randomforest(). fs_randomforest() also moves seed and n_cores out of its control list into real arguments. Removed arguments that never worked or had no effect: early_stop_threshold (fs_bayes()), early_stop and feature_funcs (fs_recursivefeature(), the latter now passed as rfe_control$functions), seed and return_models (fs_stepwise()), memoise_result (fs_svd()), auto_install (fs_randomforest()), and method (fs_mars(), which is earth-only).

Return value

The 14 selection functions return an fs_result object with selected, scores, method, task, model, details, and call, plus print(), summary(), and selected() methods. Method-specific output moved into details. fs_pca() and fs_svd() are dimensionality reduction and keep their own decomposition structure.

Statistical corrections

Bug fixes

Package conventions