Update data_generation_icu_modify.py
Browse files
data_generation_icu_modify.py
CHANGED
@@ -70,8 +70,6 @@ class Generator():
|
|
70 |
data=data.drop(columns=['days', 'dummy','hours','min','sec'])
|
71 |
data=data[data['los']>0]
|
72 |
data['Age']=data['Age'].astype(int)
|
73 |
-
#print(data.head())
|
74 |
-
#print(data.shape)
|
75 |
return data
|
76 |
|
77 |
def generate_cond(self):
|
@@ -346,7 +344,6 @@ class Generator():
|
|
346 |
final_chart=final_chart.append(sub_chart)
|
347 |
|
348 |
t=t+1
|
349 |
-
print("bucket",bucket)
|
350 |
los=int(self.los/bucket)
|
351 |
|
352 |
|
|
|
70 |
data=data.drop(columns=['days', 'dummy','hours','min','sec'])
|
71 |
data=data[data['los']>0]
|
72 |
data['Age']=data['Age'].astype(int)
|
|
|
|
|
73 |
return data
|
74 |
|
75 |
def generate_cond(self):
|
|
|
344 |
final_chart=final_chart.append(sub_chart)
|
345 |
|
346 |
t=t+1
|
|
|
347 |
los=int(self.los/bucket)
|
348 |
|
349 |
|