rizmyabdulla commited on
Commit
005ae32
·
1 Parent(s): 3e2f980

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ data = pd.read_csv('dataset.csv')
12
 
13
  # Preprocess the dataset
14
  mlb = MultiLabelBinarizer()
15
- symptoms = [s.split(',').lower() for s in data['Symptoms']]
16
  X = mlb.fit_transform(symptoms)
17
  disease = pd.get_dummies(data['Disease'])
18
  disease_list = list(disease.columns)
 
12
 
13
  # Preprocess the dataset
14
  mlb = MultiLabelBinarizer()
15
+ symptoms = [s.lower().split(',') for s in data['Symptoms']]
16
  X = mlb.fit_transform(symptoms)
17
  disease = pd.get_dummies(data['Disease'])
18
  disease_list = list(disease.columns)