divide_vector {SUMO} | R Documentation |
Divide features into randomized subsets based on factor Segments
divide_vector(n_samples, num, min_size)
n_samples |
number of samples |
num |
number of factors |
min_size |
Minimum length of any samples scores |
A list of numeric vectors. Each vector contains 80% of the features from one segment of the original feature set.
The number of segments is determined by the number of factors provided (num.factor
).
Each vector is a subset of the original feature set, selected randomly to contain 80% of the elements from the segment.
Only used when the minimum segment size constraint is too large for the given feature length and number of segments.