17 inline uint32_t
weight_gen(std::shared_ptr<rand_state>& state)
19 float temp = state->get_and_update_random();
20 if (temp <= 0.3678794411714423215955)
22 if (temp <= 0.735758882342884643191)
24 if (temp <= 0.919698602928605803989)
26 if (temp <= 0.9810118431238461909214)
28 if (temp <= 0.9963401531726562876545)
30 if (temp <= 0.9994058151824183070012)
32 if (temp <= 0.9999167588507119768923)
34 if (temp <= 0.9999897508033253583053)
36 if (temp <= 0.9999988747974020309819)
38 if (temp <= 0.9999998885745216612793)
40 if (temp <= 0.9999999899522336243091)
42 if (temp <= 0.9999999991683892573118)
44 if (temp <= 0.9999999999364022267287)
46 if (temp <= 0.999999999995480147453)
48 if (temp <= 0.9999999999996999989333)
50 if (temp <= 0.9999999999999813223654)
52 if (temp <= 0.9999999999999989050799)
54 if (temp <= 0.9999999999999999393572)
56 if (temp <= 0.999999999999999996817)
58 if (temp <= 0.9999999999999999998412)
uint32_t weight_gen(std::shared_ptr< rand_state > &state)
LEARNER::base_learner * bs_setup(VW::config::options_i &options, vw &all)