def initialize(self, **kwargs):
        """
        Initialize parameters for turn penalty, success, and failure.

        :param kwargs: turn penalty, failure penalty, and success reward
        :return: Nothing
        """

        if 'turn_penalty' in kwargs:
            self.turn_penalty = kwargs['turn_penalty']
        if 'failure_penalty' in kwargs:
            self.failure_penalty = kwargs['failure_penalty']
        if 'success_reward' in kwargs:
            self.success_reward = kwargs['success_reward']

        Initialize parameters for turn penalty, success, and failure.

        :param kwargs: turn penalty, failure penalty, and success reward
        :return: Nothing
        
plato/agent/component/dialogue_policy/reinforcement_learning/reward_function.py