77ea92f681ad145c755147267d36ec4ba59310c9,rlkit/torch/her/her.py,HER,_get_action_and_info,#HER#,110

Before Change


        :return:
        
        self.exploration_policy.set_num_steps_total(self._n_env_steps_total)
        goal = self._rollout_goal
        if self.observation_key:
            observation = observation[self.observation_key]
        if self.desired_goal_key:
            goal = self._rollout_goal[self.desired_goal_key]
        new_obs = np.hstack((observation, goal))
        return self.exploration_policy.get_action(new_obs)

    def get_eval_paths(self):
        paths = []

After Change


        :return:
        
        self.exploration_policy.set_num_steps_total(self._n_env_steps_total)
        new_obs = np.hstack((
            observation[self.observation_key],
            observation[self.desired_goal_key],
        ))
        return self.exploration_policy.get_action(new_obs)

    def get_eval_paths(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: vitchyr/rlkit
Commit Name: 77ea92f681ad145c755147267d36ec4ba59310c9
Time: 2018-12-04
Author: vitchyr@gmail.com
File Name: rlkit/torch/her/her.py
Class Name: HER
Method Name: _get_action_and_info


Project Name: vitchyr/rlkit
Commit Name: 0030a2dd021c5ae0c67536ab64bbe6bf89c6493e
Time: 2018-11-27
Author: vitchyr@gmail.com
File Name: rlkit/torch/her/her.py
Class Name: HER
Method Name: _get_action_and_info


Project Name: scikit-learn-contrib/DESlib
Commit Name: e25ce99878d2b5c151ed8fde92276fbb2cb338b2
Time: 2018-03-28
Author: rafaelmenelau@gmail.com
File Name: deslib/des/knop.py
Class Name: KNOP
Method Name: select


Project Name: scikit-learn-contrib/DESlib
Commit Name: e25ce99878d2b5c151ed8fde92276fbb2cb338b2
Time: 2018-03-28
Author: rafaelmenelau@gmail.com
File Name: deslib/des/knora_u.py
Class Name: KNORAU
Method Name: select