KikoDM commited on
Commit
e22ad3e
1 Parent(s): 291b4bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ def humands(Monthlyincome,Age,TotalWorkingYears,DailyRate,HourlyRare,DistanceFro
12
  "TotalWorkingYears" : [TotalWorkingYears],
13
  "HourlyRare" : [HourlyRare],
14
  "DistanceFromHome" : [DistanceFromHome],
15
- "OverTime_Yes" : [Overtime],
16
- "OverTime_No" : [!Overtime],
17
  "YearsAtCompany" : [YearsAtCompany],
18
  "MonthlyRate" : [MonthlyRate],
19
  "NumCompaniesWorked" : [NumCompaniesWorked],
 
12
  "TotalWorkingYears" : [TotalWorkingYears],
13
  "HourlyRare" : [HourlyRare],
14
  "DistanceFromHome" : [DistanceFromHome],
15
+ "OverTime_Yes" : [0 if Overtime else 1],
16
+ "OverTime_No" : [0 if not Overtime else 1],
17
  "YearsAtCompany" : [YearsAtCompany],
18
  "MonthlyRate" : [MonthlyRate],
19
  "NumCompaniesWorked" : [NumCompaniesWorked],