b37f83d2f432c67190c631ff554a1a832d9caaa5,mimic3benchmark/readers.py,MultitaskReader,read_example,#MultitaskReader#Any#,337
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])
return [X] + list(self._data[index][1:]) + [header]
After Change
raise ValueError("Index must be from 0 (inclusive) to number of lines (exclusive).")
name = self._data[index][0]
(X, header) = self._read_timeseries(name)
return {"X": X,
"t": self.data[index][1],
"ihm": self.data[index][2],
"los": self.data[index][3],
"ph": self.data[index][4],
"decomp": self.data[index][5],
"header": header,
"name": name}
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances Project Name: YerevaNN/mimic3-benchmarks
Commit Name: b37f83d2f432c67190c631ff554a1a832d9caaa5
Time: 2018-01-17
Author: harhro@gmail.com
File Name: mimic3benchmark/readers.py
Class Name: MultitaskReader
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: MultitaskReader
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: 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: PhenotypingReader
Method Name: read_example