Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -127,17 +127,17 @@ def diagnostic_models_evaluation(X_train, X_test, y_train, y_test):
|
|
127 |
|
128 |
return xgb_model, daal_model
|
129 |
|
130 |
-
"""
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
"""
|
141 |
def model_gen(signal_data_type):
|
142 |
|
143 |
enc_dat = pd.read_csv("PTB_ECGencoded_dat.csv")
|
|
|
127 |
|
128 |
return xgb_model, daal_model
|
129 |
|
130 |
+
# """
|
131 |
+
# "Myocardial infarction": 1,
|
132 |
+
# "Cardiomyopathy/Heart failure": 2,
|
133 |
+
# "Bundle branch block": 3,
|
134 |
+
# "Dysrhythmia": 4,
|
135 |
+
# "Myocardial hypertrophy": 5,
|
136 |
+
# "Valvular heart disease": 6,
|
137 |
+
# "Myocarditis": 7,
|
138 |
+
# "Miscellaneous": 8,
|
139 |
+
# "Healthy controls": 9
|
140 |
+
# """
|
141 |
def model_gen(signal_data_type):
|
142 |
|
143 |
enc_dat = pd.read_csv("PTB_ECGencoded_dat.csv")
|