Create the settings for defining any feature selection that will be done
createUnivariateFeatureSelection(k = 100)
An object of class featureEngineeringSettings
This function returns the K features most associated (univariately) to the outcome
Returns an object of class featureEngineeringSettings
that specifies
the function that will be called and the settings. Uses the scikit-learn
SelectKBest function with chi2 for univariate feature selection.
# dontrun reason: requires python and scikit-learn
if (FALSE) #' # create a feature selection that selects the 100 most associated features
featureSelector <- createUnivariateFeatureSelection(k = 100)
Run the code above in your browser using DataLab