f9761b45d25b28cb952a4a90346e58e730b5099d,src/dataloader.py,DataLoader,_get_data_from_directory,#DataLoader#,49

Before Change



        self._check_data_not_empty(images)

        return np.array(images), np.array(label_values), label_index_map

    def _get_data_from_csv(self):
        

After Change



        self._check_data_not_empty(images)

        return self._load_dataset(np.array(images), np.array(label_values), label_index_map)

    def _get_data_from_csv(self):
        
        :return:  List of images and list of labels from csv file.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: thoughtworksarts/EmoPy
Commit Name: f9761b45d25b28cb952a4a90346e58e730b5099d
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: src/dataloader.py
Class Name: DataLoader
Method Name: _get_data_from_directory


Project Name: thoughtworksarts/EmoPy
Commit Name: a71f947ef53d1adb3dc0325c121dff2f3809a738
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: src/dataloader.py
Class Name: DataLoader
Method Name: _get_image_series_data_from_directory


Project Name: thoughtworksarts/EmoPy
Commit Name: c1b3482f575bf75557c8072b3f857672bddd3588
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: src/dataloader.py
Class Name: DataLoader
Method Name: _get_data_from_csv