Icon

How to Sample Data

<p>How to Sample Data</p><p>This workflow demonstrates several ways to create smaller, more manageable versions of a large dataset. Each branch uses a different <strong>sampling technique</strong> to select a subset of rows: <strong>random sampling</strong> picks rows at random, <strong>linear sampling</strong> takes the first set number of rows, <strong>stratified sampling</strong> ensures each group (like a class or category) is represented proportionally, and <strong>equal size sampling</strong> creates samples with exactly the same number of rows from each group. These approaches help you test models or analyze data efficiently without using the entire dataset.</p>

How to Sample Data

This workflow demonstrates several ways to create smaller, more manageable versions of a large dataset. Each branch uses a different sampling technique to select a subset of rows: random sampling picks rows at random, linear sampling takes the first set number of rows, stratified sampling ensures each group (like a class or category) is represented proportionally, and equal size sampling creates samples with exactly the same number of rows from each group. These approaches help you test models or analyze data efficiently without using the entire dataset.

How to Sample Data

This workflow demonstrates several ways to create smaller, more manageable versions of a large dataset. Each branch uses a different sampling technique to select a subset of rows: random sampling picks rows at random, linear sampling takes the first set number of rows, stratified sampling ensures each group (like a class or category) is represented proportionally, and equal size sampling creates samples with exactly the same number of rows from each group. These approaches help you test models or analyze data efficiently without using the entire dataset.

Iris Dataset
Example Data Reader
Stratifed Sampling; Relative Output Size
Row Sampler
Exact Sampling
Equal Size Sampling
Approximate Sampling
Equal Size Sampling
Random Sampling; Relative Output Size
Row Sampler
Linear Sampling; Absolute Output Size
Row Sampler
First Rows Sampling; Relative Output Size
Row Sampler

Nodes

Extensions

Links