You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should the year be encoded as an original integer or treated with one-hot encoding? It depends. If the year has a meaningful numeric relationship with the target (e.g., older years might correlate with higher frequency of a disease), we keep it as an original integer. However, if specific years have unique relationships with the target, the year is better treated with one-hot encoding.