Variance Threshold Filter#

A type of feature selector that selects the top k features with the greatest variance.

Interfaces: Transformer, Stateful

Data Type Compatibility: Continuous


# Param Default Type Description
1 minFeatures int The minimum number of features to select from the dataset.


use Rubix\ML\Transformers\VarianceThresholdFilter;

$transformer = new VarianceThresholdFilter(50);

Additional Methods#

Return the variances of the dropped feature columns:

public variances() : ?array