out=smc(priors,cost;verbose=true,nparticles=200,parallel=true)# ABCDE(priors,cost,1e6; verbose=true, nparticles=300,generations=1000, parallel = true) #this one has better NaN handling
display(cost([0.0001,0.0005]))
# out =smc(priors,cost; verbose = true, nparticles = 200, parallel = true)# ABCDE(priors,cost,1e6; verbose=true, nparticles=300,generations=1000, parallel = true) #this one has better NaN handling
returnNamedTuple{p_names}((out.P.particles,))
end
...
...
@@ -96,6 +100,7 @@ function plot_behavioural_fit(particles,p_tuple)
sim_length=sim_length,
I_0_fraction=0.000,
immunization_begin_day=60,
infection_introduction_day=180,
immunizing=true,
)
)
...
...
@@ -106,7 +111,7 @@ function plot_behavioural_fit(particles,p_tuple)
target_cumulative_vac_proportion=0.33
vaccination_data=@SVector[0.0,0.043,0.385,0.424,0.115,0.03,0.005]#by month starting in august
fornetworkinmodelsol.inf_network.graph_list[t]#this also resamples the soc network weights since they point to the same objects, but those are never used
sample_mixing_graph!(network)#get new contact weights