sklearn.preprocessing.binarize(X, threshold=0.0, copy=True)
[source]
Boolean thresholding of array-like or scipy.sparse matrix
Read more in the User Guide.
Parameters: |
|
---|
See also
Binarizer
Transformer
API (e.g. as part of a preprocessing sklearn.pipeline.Pipeline
).
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.binarize.html