DreamStream-1 commited on
Commit
46fcfa7
·
verified ·
1 Parent(s): c76c20f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -73,6 +73,7 @@ disease_dict = {
73
 
74
  # Function to prepare data
75
  def prepare_data(df):
 
76
  X = df.iloc[:, :-1] # Features
77
  y = df.iloc[:, -1] # Target
78
  label_encoder = LabelEncoder()
 
73
 
74
  # Function to prepare data
75
  def prepare_data(df):
76
+ """Prepares data for training/testing."""
77
  X = df.iloc[:, :-1] # Features
78
  y = df.iloc[:, -1] # Target
79
  label_encoder = LabelEncoder()