featR 0.1.0

First release. Unifies the feature_selection script collection into a package with 16 exported functions sharing one calling convention and one return type.

Calling convention

All selection functions take the form:

fs_<method>(data, target, ..., seed = NULL, verbose = FALSE, n_cores = 1L)

data is always first and target (a single column-name string) always second. 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