๐ Bug HuntAI AI & ML Mediumโก+20 XP
Missing Feature Engineering
Model ignores the date column.
๐ Find the bug
1
df['date'] = pd.to_datetime(df['date'])2
model.fit(df[['date', 'amount']], y)๐ The bug is on line 2