ecc8b0b34138fa480e1b1876fd2695c07be9b159,simple_rl/tasks/navigation/NavigationMDP.py,NavigationMDP,reset_goals,#NavigationMDP#,179
Before Change
self.cell_rewards = self.cell_rewards_wo_goals.copy()
// Update goals and their rewards
self.all_goals_state_features_entangled = len(np.unique(goal_colors)) == 1
for goal_idx, goal_loc in enumerate(self.goal_locs):
goal_r, goal_c = self._xy_to_rowcol(goal_loc[0], goal_loc[1])
if self.all_goals_state_features_entangled:
After Change
self.goal_cell_locs = goal_cell_locs
self.goal_cell_rewards = goal_cell_rewards
self.goal_cell_types = goal_types
self.goal_cell_ids = list(range(self.living_cell_ids[-1] + 1,
self.living_cell_ids[-1] + 1 + len(
self.goal_cell_locs)))
// Reset goal xy to idx dict

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: david-abel/simple_rl
Commit Name: ecc8b0b34138fa480e1b1876fd2695c07be9b159
Time: 2018-08-22
Author: yagneshrevar@gmail.com
File Name: simple_rl/tasks/navigation/NavigationMDP.py
Class Name: NavigationMDP
Method Name: reset_goals
Project Name: Scitator/catalyst
Commit Name: e839626c28d8dc6030ce71f3619e934b36fb6627
Time: 2020-10-23
Author: Balaganskij.NN@phystech.edu
File Name: catalyst/metrics/functional.py
Class Name:
Method Name: process_multiclass_components
Project Name: biotite-dev/biotite
Commit Name: 874ead481476247acfcfe06b02a07df3f3c97e0f
Time: 2020-12-05
Author: anter.jacob@gmail.com
File Name: src/biotite/structure/charges.py
Class Name:
Method Name: _get_parameters
Project Name: theislab/scanpy
Commit Name: 746bc9a03bef9c0a9686c43b44d1aac7d09f08da
Time: 2020-10-06
Author: awnimousa@gmail.com
File Name: scanpy/external/tl/_harmony_timeseries.py
Class Name:
Method Name: harmony_timeseries