Roberta2024 commited on
Commit
023e22c
·
verified ·
1 Parent(s): cfb3387

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ if uploaded_file is not None:
43
  st.pyplot(plt)
44
 
45
  # Replace target variable
46
- df['Target_goal'] = df['Target_goal'].replace({1: 0, 2: 1})
47
 
48
  # Define features and target variable
49
  X = df.drop(columns=['Target_goal'])
 
43
  st.pyplot(plt)
44
 
45
  # Replace target variable
46
+ df['Target_goal'] = df['Target_goal'].replace({1: 1, 2: 0})
47
 
48
  # Define features and target variable
49
  X = df.drop(columns=['Target_goal'])