b37f83d2f432c67190c631ff554a1a832d9caaa5,mimic3benchmark/readers.py,InHospitalMortalityReader,read_example,#InHospitalMortalityReader#Any#,132

Before Change


        if (index < 0 or index >= len(self._data)):
            raise ValueError("Index must be from 0 (inclusive) to number of lines (exclusive).")

        (X, header) = self._read_timeseries(self._data[index][0])
        y = self._data[index][1]

        return (X, self._period_length, y, header)


class LengthOfStayReader(Reader):
    r

After Change


        name = self._data[index][0]
        t = self._period_length
        y = self._data[index][1]
        (X, header) = self._read_timeseries(name)

        return {"X": X,
                "t": t,
                "y": y,
                "header": header,
                "name": name}


class LengthOfStayReader(Reader):
    r
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: InHospitalMortalityReader
Method Name: read_example


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: InHospitalMortalityReader
Method Name: read_example


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: DecompensationReader
Method Name: read_example


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: LengthOfStayReader
Method Name: read_example


Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: PhenotypingReader
Method Name: read_example