b37f83d2f432c67190c631ff554a1a832d9caaa5,mimic3benchmark/readers.py,DecompensationReader,read_example,#DecompensationReader#,68

Before Change


            raise ValueError("Index must be from 0 (inclusive) to number of examples (exclusive).")

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

        return (X, t, y, header)


class InHospitalMortalityReader(Reader):
    r

After Change


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

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


class InHospitalMortalityReader(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: 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: 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: PhenotypingReader
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: LengthOfStayReader
Method Name: read_example