Filter-based selection

Filter-based selection ranks variables with a model-independent statistic: variance, correlation with the target, a statistical test, mutual information, then keeps the best ones. It is fast and simple, but ignores interactions between variables and the model being used.

Example

SelectKBest(score_func=f_classif, k=10)

Related concepts

The whole glossary