MCPcopy Create free account
hub / github.com/daniel-e/rustml / normal_builder

Function normal_builder

src/datasets.rs:238–243  ·  view source on GitHub ↗

Creates a normally distributed data source.

(seed: [u32; 4])

Source from the content-addressed store, hash-verified

236
237/// Creates a normally distributed data source.
238pub fn normal_builder(seed: [u32; 4]) -> NormalData {
239 NormalData {
240 rng: XorShiftRng::from_seed(seed),
241 normal: vec![]
242 }
243}
244
245// ----------------------------------------------------------------------------
246

Callers 7

test_normal_dataFunction · 0.85
test_mixtureFunction · 0.85
mainFunction · 0.85
plot_normal_dataFunction · 0.85
plot_mixtureFunction · 0.85
plot_nnFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_normal_dataFunction · 0.68
test_mixtureFunction · 0.68