You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/calibrationtools/sampler.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ class ABCSampler:
45
45
generation_particle_count (int): Number of particles to accept per generation for a complete population.
46
46
tolerance_values (list[float]): List of tolerance values for each generation for evaluating acceptance criterion.
47
47
priors (PriorDistribution | dict | Path): Prior distribution of the parameters being calibrated. Can be provided as a PriorDistribution object, a dictionary, or a path to a JSON file containing a valid priors schema.
48
-
particles_to_params (Callable[[Particle], dict]): Function to map particles to model parameters.
48
+
particles_to_params (Callable[..., dict]): Function to map particles to model parameters.
49
49
outputs_to_distance (Callable[..., float]): Function to compute distance between model outputs and target data.
50
50
target_data (Any): Observed data to compare against.
51
51
model_runner (MRPModel): Model runner to simulate outputs given parameters.
0 commit comments