SplitMap
Processor that assigns each event to a dataset split (for
example train, validation, or test) using a seeded random map. The weights give
the relative proportion of each split, and the assignment is deterministic for a
given seed so splits are reproducible.
Configuration
Selected as name: splitmap.
Option |
Description |
Type |
Default |
|---|---|---|---|
|
Random seed making the split assignment reproducible. |
int |
required |
|
Number of buckets the weights are spread over (0 to 255). |
int |
required |
|
Relative proportion of each split. Must have |
list[number] |
required |
- name: splitmap
kwargs:
seed: 2747
range: 10
weights: [ 8, 8, 8, 8, 8, 8, 8, 8, 1, 1 ]