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 May 29, 2024, 2:38 a.m.