Source

Variance Threshold Filter#

A type of feature selector that selects feature columns that have a greater variance than the user-specified threshold.

Interfaces: Transformer, Stateful

Data Type Compatibility: Continuous

Parameters#

# Param Default Type Description
1 threshold 0. float Feature columns with a variance greater than this threshold will be selected.

Additional Methods#

Return the columns that were selected during fitting:

public selected() : array

Example#

use Rubix\ML\Transformers\VarianceThresholdFilter;

$transformer = new VarianceThresholdFilter(50);