RandomSubset¶
Select a random subset of instances in the given data.
Version 1.1.0
Ports/Properties¶
data¶
Data to process.
subset_axis¶
Axis along which to subset the data.
count¶
Number of items to retain (you may only set this property or fraction, not both).
fraction¶
Fraction of items to retain (you may only set this property or count not both).
only_targets¶
Act only on instance elements that have the TargetMarkers field set. This can be accomplished via the AssignTargets node.
random_seed¶
Seed for the random number generator. If not set, a random seed is chosen each time the node is run.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.