sample_k_per_level: Sample k indices per levels from a factor

View source: R/LearningCurve.R

sample_k_per_levelR Documentation

Sample k indices per levels from a factor

Description

Sample k indices per levels from a factor

Usage

sample_k_per_level(y, k)

Arguments

y

factor; factor with levels

k

integer; number of indices to sample per level

Value

vector with indices for sample


RSSL documentation built on March 31, 2023, 7:27 p.m.