def update_policy(self):
        ''' Update policy based on the current regrets
        '''
        for obs in self.regrets:
            self.policy[obs] = self.regret_matching(obs)
 Update policy based on the current regrets
        
rlcard/agents/cfr_agent.py