Moditha24 commited on
Commit
e8182c9
·
verified ·
1 Parent(s): 9a7f2ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -22,8 +22,10 @@ ct = ColumnTransformer(
22
  )
23
 
24
  # Fit it using your training data
25
- ct.fit(df[['Gender', 'Race (Reported)', 'Cyp2C9 genotypes', 'VKORC1 genotype: -1639 G>A (3673); chr16:31015190; rs9923231; C/T']])
26
-
 
 
27
 
28
  # Assuming 'ct' is your ColumnTransformer (replace this with the actual loading code for your preprocessor)
29
  # Make sure that 'ct' is properly loaded, or use the same transformation logic here.
 
22
  )
23
 
24
  # Fit it using your training data
25
+ ct.fit(df[['Gender', 'Race (Reported)', 'Age', 'Height (cm)', 'Weight (kg)',
26
+ 'Diabetes', 'Simvastatin (Zocor)', 'Amiodarone (Cordarone)',
27
+ 'INR on Reported Therapeutic Dose of Warfarin', 'Cyp2C9 genotypes',
28
+ 'VKORC1 genotype: -1639 G>A (3673); chr16:31015190; rs9923231; C/T']])
29
 
30
  # Assuming 'ct' is your ColumnTransformer (replace this with the actual loading code for your preprocessor)
31
  # Make sure that 'ct' is properly loaded, or use the same transformation logic here.