cef7071d947a609cf0609e31d16c75ec54c139b5,mimic3models/length_of_stay/utils.py,BatchGen,__next__,#BatchGen#,94

Before Change


            return self.generator.next()

    def __next__(self):
        return self.generator.__next__()


class BatchGenDeepSupervision(object):

After Change


            return next(self.generator)

    def __next__(self):
        return self.next()


class BatchGenDeepSupervision(object):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: cef7071d947a609cf0609e31d16c75ec54c139b5
Time: 2018-04-18
Author: harhro@gmail.com
File Name: mimic3models/length_of_stay/utils.py
Class Name: BatchGen
Method Name: __next__


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: cef7071d947a609cf0609e31d16c75ec54c139b5
Time: 2018-04-18
Author: harhro@gmail.com
File Name: mimic3models/length_of_stay/utils.py
Class Name: BatchGenDeepSupervision
Method Name: __next__


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: cef7071d947a609cf0609e31d16c75ec54c139b5
Time: 2018-04-18
Author: harhro@gmail.com
File Name: mimic3models/decompensation/utils.py
Class Name: BatchGen
Method Name: __next__


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: cef7071d947a609cf0609e31d16c75ec54c139b5
Time: 2018-04-18
Author: harhro@gmail.com
File Name: mimic3models/multitask/utils.py
Class Name: BatchGen
Method Name: __next__


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: cef7071d947a609cf0609e31d16c75ec54c139b5
Time: 2018-04-18
Author: harhro@gmail.com
File Name: mimic3models/decompensation/utils.py
Class Name: BatchGenDeepSupervision
Method Name: __next__