def simulation(month):
    builder = SimulationBuilder()
    builder.default_period = month
    simulation = builder.build_from_variables(
        our_tbs, {'choice': np.random.randint(2, size=1000) + 1})
    simulation.debug = True
    return simulation
Exemple #2
0
 def _make_simulation(tbs, period, data):
     builder = SimulationBuilder()
     builder.default_period = period
     return builder.build_from_variables(tbs, data)
 def _make_simulation(data):
     builder = SimulationBuilder()
     builder.default_period = period
     return builder.build_from_variables(tax_benefit_system, data)