Deborah.Sarah.SeedManager

Deborah.Sarah.SeedManager.RNGPoolType
struct RNGPool

Container 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..
source
Deborah.Sarah.SeedManager.setup_rngFunction
setup_rng(
    ranseed::Int=850528, 
    jobid::Union{Nothing, String}=nothing
) -> StatsBase.Xoshiro

Initialize 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

Side Effects

Prints the seed and RNG type to stdout.

source
Deborah.Sarah.SeedManager.setup_rng_poolFunction
setup_rng_pool(
    ranseed::Int=850528, 
    jobid::Union{Nothing, String}=nothing
) -> RNGPool

Initialize 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.

source