def calculate_policy(self, state):
        """
        Calculates the probabilities for each action from the given state

        :param state: the current dialogue state
        :return: probabilities of actions
        """
        dot_prod = np.dot(state, self.weights)
        exp_dot_prod = np.exp(dot_prod)
        return exp_dot_prod / np.sum(exp_dot_prod)

        Calculates the probabilities for each action from the given state

        :param state: the current dialogue state
        :return: probabilities of actions
        
plato/agent/component/dialogue_policy/deep_learning/reinforce_policy.py