Update evaluate.py

This commit is contained in:
s452487 2024-05-07 15:58:57 +02:00
parent c4b9b4ca46
commit 670957ba8f

View File

@ -13,7 +13,6 @@ x_columns = ['Male', 'GeneralHealth', 'PhysicalHealthDays', 'MentalHealthDays',
'TetanusLast10Tdap', 'HighRiskLastYear', 'CovidPos']
y_column = 'HadHeartAttack'
valid.dropna(subset = x_columns, inplace=True)
valid_x = valid[x_columns]
valid_y = valid[y_column]