View source: R/FeatureEngineering.R
createUnivariateFeatureSelection | R Documentation |
Create the settings for defining any feature selection that will be done
createUnivariateFeatureSelection(k = 100)
k |
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.
An object of class featureEngineeringSettings
## Not run: #' # create a feature selection that selects the 100 most associated features
featureSelector <- createUnivariateFeatureSelection(k = 100)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.