Skip to main content
๐Ÿ› Bug HuntAI AI & ML Mediumโšก+20 XP

Missing Feature Engineering

Model ignores the date column.

๐Ÿ› Find the bug
1df['date'] = pd.to_datetime(df['date'])
2model.fit(df[['date', 'amount']], y)
๐Ÿ› The bug is on line 2

๐Ÿ”ง Select the correct fix: