The Top k Selector is like a combination of the Row Sampling and Sorter nodes. The user gives a specified number of rows to sample from the top of the table. However, it can also sort the data at the same time. For example, you can return the top 10 largest values, even if the data is not already sorted in that order.
On the Advanced tab, you can also elect to return the output table sorted, in the given row order, or in arbitrary order.
The Top k Selector is more efficient than using a combination of Row Sampling and Sorter nodes.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!