Skip to main content

Module binarizer

Module binarizer 

Source
Expand description

Binarizer: threshold features to binary values.

Values strictly greater than the threshold are set to 1.0; all other values are set to 0.0.

This transformer is stateless — no fitting is required. Call Transform::transform directly.

Structs§

Binarizer
A stateless feature binarizer.