since many days im trying to run decision tree algorithm. But i couldnt change the date to dummy variable. because of the format Y,M,D, H:M:S. but i want to change the format to YMD.
my questions are?
- is it necessary to make dates into dummy variables
- how to convert all my dates (10000 dates of x variable) format Y,M,D, H:M:S. to YMD .