Description Usage Arguments Value
View source: R/feature_generation.R
Remove all columns that have only a single value
1 2 | pipe_remove_single_value_columns(train, na_function = function(x) { F
})
|
train |
The train dataset, as a data.frame or data.table. Data.tables may be changed by reference. |
na_function |
A function that returns true when a value is considered missing, and should be removed. Defaults to removing no values. |
A list containing the transformed train dataset and a trained pipe.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.