Filter rows based on random sampling

Author

Cox Lab

Published

March 18, 2024

1 General

2 Brief description

A given number of rows is kept based on random decisions.

Output: The filtered matrix.

3 Parameters

3.1 Number of rows

The filtering is based on random decisions, where a given number of rows is kept (default: total number of rows in the matrix).

3.2 Filter mode

The “Filter mode” defines, whether the input matrix will be reduced (“Reduce matrix” = default) or a new categorical column called “Filter” will be generated containing the categories “Keep” and “Discard” (“Filter mode” = “Add categorical column”).

4 Parameter window