Deborah.Sarah.SeedManager
Deborah.Sarah.SeedManager.RNGPool — Typestruct RNGPoolContainer for multiple independent RNGs used in bootstrap sampling.
Fields
rng::StatsBase.Xoshiro: RNG for full set.rng_lb::StatsBase.Xoshiro: RNG for labeled set.rng_tr::StatsBase.Xoshiro: RNG for training set.rng_bc::StatsBase.Xoshiro: RNG for bias correction set.rng_ul::StatsBase.Xoshiro: RNG for unlabeled set..
Deborah.Sarah.SeedManager.setup_rng — Functionsetup_rng(
ranseed::Int=850528,
jobid::Union{Nothing, String}=nothing
) -> StatsBase.XoshiroInitialize a pseudorandom number generator (PRNG) with a fixed seed.
Arguments
ranseed: Seed value for the RNG (default =850528).jobid: Optional job identifier for logging.
Returns
StatsBase.Xoshiro: Seeded PRNG instance.
Side Effects
Prints the seed and RNG type to stdout.
Deborah.Sarah.SeedManager.setup_rng_pool — Functionsetup_rng_pool(
ranseed::Int=850528,
jobid::Union{Nothing, String}=nothing
) -> RNGPoolInitialize an RNGPool with distinct but reproducible seeds derived from a base seed.
Arguments
ranseed: Base seed value (default =850528).jobid: Optional job identifier for logging.
Returns
RNGPool: Struct containing five independent seeded RNGs.
Side Effects
Prints the seed initialization information to stdout.