deepthiaj commited on
Commit
a88c803
·
1 Parent(s): e0f9499

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
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
- "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")
 
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")