Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge


Build a new dataset that probabilistically returns examples.

a the first
b the second
a_probability the float probability to select the next example from the a dataset.
op_seed an optional int seed for the TensorFlow PRNG op. Strongly recommended to only use in unittests. Note: only setting this seed will not enable deterministic behavior, callers must also use tf.random.set_seed to enable deterministic behavior.

A that returns examples from dataset a with probability a_probability, and examples form dataset b with probability (1 - a_probability). The dataset will yield the number of examples equal to the smaller of a or b.