scikit-learn Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

The fit method

The fit method exists for the binarizer transformation, but it will not fit anything; it will simply return the object. The object, however, will store the threshold and be ready for the transform method.