Function train_with_rng

Source
pub fn train_with_rng<'a, R: Rng, S: Into<&'a str>>(
    documents: Vec<S>,
    attributes: Vec<Attribute<'a>>,
    settings: FuzzerSettings,
    iterations: usize,
    rng: &mut R,
) -> Result<TrainingResult>
Expand description

Same as train, but with a custom random number generator (Rng).