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
whether to include the cross-validation QoF measure
first
first variable to consider for elimination
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
whether to include the cross-validation QoF measure
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 left 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 left 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
whether to include the cross-validation QoF measure
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
whether to include the cross-validation QoF measure
qk
index of Quality of Fit (QoF) to use for comparing quality