Returns a random float in [0.0,1.0)
The rand
transform returns a random number if [0,1). This is useful when performing random sampling:
if rand < 0.7
will return about 70% of the datapoints randomly chosen.
One-To-One | Stateless | Peek | Input Schema | Output Schema |
---|---|---|---|---|
True | False | False | {"type": "number","minimum": 0, "exclusiveMaximum": 1} |