Viewing a single comment thread. View all comments

Meddhouib10 t1_isnjlvi wrote

Reply to comment by seiqooq in [R] Embedding dates ? by MichelMED10

I have couples of dates and procedures/tests ans their results. So having the date is important (per example a patient had cancer 5 years ago and was treated using conization)

1

seiqooq t1_isoymwj wrote

Gotcha. In that case I’d use sinusoid embedding like others have suggested. Another alternative is normalizing all of the dates onto some small range, eg [0,1]

1