Sujatha commited on
Commit
8554933
·
verified ·
1 Parent(s): 451f4bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import pandas as pd
5
  from sklearn.model_selection import train_test_split
6
 
7
  # Convert PDF to DataFrame (assuming it's already loaded as df in CSV or DataFrame format)
8
- df = pd.read_csv('diabetes_data.csv') # Replace with the path to your CSV
9
  df['label'] = (df['target_column'] > threshold_value).astype(int) # Adjust target column for binary classification
10
 
11
  # Split the dataset
 
5
  from sklearn.model_selection import train_test_split
6
 
7
  # Convert PDF to DataFrame (assuming it's already loaded as df in CSV or DataFrame format)
8
+ df = pd.read_csv('diabetes_prediction_dataset.csv') # Replace with the path to your CSV
9
  df['label'] = (df['target_column'] > threshold_value).astype(int) # Adjust target column for binary classification
10
 
11
  # Split the dataset