9d6e44f743ce1947afd5afcae2d61c6a6ea01f42,mushroom_rl/utils/callbacks/plot_dataset.py,PlotDataset,__call__,#PlotDataset#Any#,95

Before Change


            obs = sample[0]
            action = sample[1]
            reward = sample[2]
            last = sample[5]

            for i in range(len(action)):
                self.action_buffers_list[i].update([action[i]])

After Change


            dataset (list): the samples to collect.

        
        super().__call__(dataset)

        for sample in dataset:
            obs = sample[0]
            action = sample[1]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 9d6e44f743ce1947afd5afcae2d61c6a6ea01f42
Time: 2020-01-20
Author: antoniopereira1996@gmail.com
File Name: mushroom_rl/utils/callbacks/plot_dataset.py
Class Name: PlotDataset
Method Name: __call__


Project Name: mne-tools/mne-python
Commit Name: 06c7785aabe72fc7394cc6e6ba1c7d5aec1d2c76
Time: 2019-05-22
Author: mailsik@gmail.com
File Name: mne/io/brainvision/brainvision.py
Class Name: _BVEventParser
Method Name: __call__


Project Name: chainer/chainerrl
Commit Name: 9bb43a97c7c348ad50c5ab4806f18d686d29bad7
Time: 2017-11-14
Author: muupan@gmail.com
File Name: chainerrl/q_functions/state_action_q_functions.py
Class Name: FCSAQFunction
Method Name: __call__