Skip to content

Sample Dataset Node

AI/ML/Dataset

Sample Dataset

Random sample N records or a ratio from a dataset

ai_ml_dataset_sampleml
Inputs5
Outputs2
Security exposure4/10
Packageml

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
4/10Medium
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
4/10Medium
GovernancePolicy, audit, or compliance impact.
4/10Medium
ReliabilityOperational stability considerations.
3/10High
CostExternal or compute cost impact.
4/10Medium

Input Pins

5

Input

Execution
exec_in

Execution trigger that starts the sampling

Sample Count

Integer
sample_count

Number of records to sample (if set, takes precedence over ratio)

Default 0

Sample Ratio

Float
sample_ratio

Ratio of records to sample (0.0 to 1.0, used if sample_count is 0)

Default 0.1
Range 0 to 1

Data Source

Struct
source

Data Source (DB or CSV)

NodeDBConnectionNodeDBConnection1 fields
cache_keystringrequired
Schema enforced

Target Database

Struct
target

Destination database connection that receives the sampled rows

NodeDBConnectionNodeDBConnection1 fields
cache_keystringrequired
Schema enforced

Output Pins

2

Done

Execution
exec_out

Activated once the sampling has finished

Sampled Count

Integer
sampled_count

Number of records that were sampled

Node Info

Internal name
ai_ml_dataset_sample
Category
AI/ML/Dataset