blakeelias / pandemic_RL

Reinforcement learning for economically optimal pandemic response.
GNU General Public License v3.0
2 stars 1 forks source link

Disallow > 5% chance of going above hospital capacity #38

Open blakeelias opened 3 years ago

blakeelias commented 3 years ago
        if expected_new_cases > self.max_infected:
            return -np.inf
        # TODO: replace with:                                                                                                                                                                                                                                 
        #  if Prob(actual_new_cases > self.max_infected) > .05:  return -np.inf