The FeatureSelection trait establishes a framework for feature selection, i.e., selecting the features (e.g., variable x_j, cross term x_j x_k, or functional form x_j^2) to include in the model.
Perform BACKWARD ELIMINATION to find the LEAST predictive features/variables to REMOVE from the full model, returning the features/variables left and the new Quality of Fit (QoF) measures/metrics for all steps.
Perform BACKWARD ELIMINATION to find the LEAST predictive features/variables to REMOVE from the full model, returning the features/variables left and the new Quality of Fit (QoF) measures/metrics for all steps.
Value parameters
cross
indicator to include the cross-validation/validation QoF measure (defaults to "many")
first
first variable to consider for elimination
qk
index of Quality of Fit (QoF) to use for comparing quality
Perform BEAM SEARCH SELECTION to find a GOOD COMBINATION of predictive features/variables to have in the model, returning the top k sets of features/variables selected and the new Quality of Fit (QoF) measures/metrics for all steps. At each step, iterate over the models in the beam (top k) and create candidates by adding features (phase 1) and then removing features (phase 2). From all the candidates, keep the best k and start a new iteration. Stops when there is no improvement in any of top k or the maximum number of features is reached.
Perform BEAM SEARCH SELECTION to find a GOOD COMBINATION of predictive features/variables to have in the model, returning the top k sets of features/variables selected and the new Quality of Fit (QoF) measures/metrics for all steps. At each step, iterate over the models in the beam (top k) and create candidates by adding features (phase 1) and then removing features (phase 2). From all the candidates, keep the best k and start a new iteration. Stops when there is no improvement in any of top k or the maximum number of features is reached.
Value parameters
bk
the beam width holding the top k models (defaults to 3)
cross
indicator to include the cross-validation/validation QoF measure (defaults to "many")
qk
index of Quality of Fit (QoF) to use for comparing quality
Perform FORWARD SELECTION to find the MOST predictive features/variables to ADD into the model, returning the features/variables added and the new Quality of Fit (QoF) measures/metrics for all steps.
Perform FORWARD SELECTION to find the MOST predictive features/variables to ADD into the model, returning the features/variables added and the new Quality of Fit (QoF) measures/metrics for all steps.
Value parameters
cross
indicator to include the cross-validation/validation QoF measure (defaults to "many")
qk
index of Quality of Fit (QoF) to use for comparing quality
Perform STEPWISE SELECTION to find a GOOD COMBINATION of predictive features/variables to have in the model, returning the features/variables selected and the new Quality of Fit (QoF) measures/metrics for all steps. At each step, it calls forward and backward and takes the best of the two actions. Stops when neither action yields improvement.
Perform STEPWISE SELECTION to find a GOOD COMBINATION of predictive features/variables to have in the model, returning the features/variables selected and the new Quality of Fit (QoF) measures/metrics for all steps. At each step, it calls forward and backward and takes the best of the two actions. Stops when neither action yields improvement.
Value parameters
cross
indicator to include the cross-validation/validation QoF measure (defaults to "many")
qk
index of Quality of Fit (QoF) to use for comparing quality
swap
whether to allow a swap step (swap out a feature for a new feature in one step)
Perform feature selection to find the most predictive features/variables to have in the model, returning the features/variables added and the new Quality of Fit (QoF) measures/metrics for all steps.
Perform feature selection to find the most predictive features/variables to have in the model, returning the features/variables added and the new Quality of Fit (QoF) measures/metrics for all steps.
Value parameters
cross
indicator to include the cross-validation/validation QoF measure (defaults to "many")
first
first variable to consider for elimination (default (1) assume intercept x_0 will be in any model)
qk
index of Quality of Fit (QoF) to use for comparing quality
swap
whether to allow a swap step (swap out a feature for a new feature in one step)