Which side receives a value exactly at the binary threshold?

Binarizer returns one for values strictly greater than its threshold and zero otherwise.

Binarizer in practice

With a threshold of ten, readings nine, ten and eleven become zero, zero and one. An “at least ten” rule needs a different comparison.

中文

阈值二值化时等于阈值算哪一类?

Binarizer 将严格大于阈值的数映为 1,其余映为 0。

Binarizer 应用实例

门槛是 10,读数 9、10、11 会变成 0、0、1。若业务约定“至少 10”,必须调整比较方式。

References / 参考来源

Keep reading / 继续阅读