estimator.nd.SparseBinary

Contents

estimator.nd.SparseBinary#

estimator.nd.SparseBinary(hw, n=None)[source]#

Sparse binary noise distribution having hw coefficients equal to 1, and the rest zero.

EXAMPLE:

>>> from estimator import *
>>> ND.SparseBinary(10).bounds
(0, 1)