Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 544707495
  • Loading branch information
yilei authored and copybara-github committed Jun 30, 2023
1 parent 6a56def commit 4a8200d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions agent_based_epidemic_sim/learning/ens_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
For a Colab demonstrating this code, go to (broken link).
"""

from dataclasses import dataclass
from dataclasses import dataclass, field
import numpy as np
import scipy.stats

Expand Down Expand Up @@ -232,7 +232,9 @@ def dist_to_atten_sample(distances: np.ndarray,
class ModelParams:
"""Defines all parameters required to define the distributions of distance, dose and infectiousness.
"""
ble_params: BleParams = BleParams() # may want to change sigma
ble_params: BleParams = field(
default_factory=BleParams
) # may want to change sigma
distance_fun: str = 'sigmoid' # quadratic or sigmoid
distance_dmin: float = 1.0
distance_slope: float = 1.5
Expand Down

0 comments on commit 4a8200d

Please sign in to comment.