Dear Rapidminer Community,
I have a problem I am pretty sure you can help me with.
I have a range of dates which are listed below each other like this:
01.04.2015
02.04.2015
....
31.12.2017
What I would like to do is to implement a seperate Attribute which sets a mark if the date is before a certain date. This means, set "1" if date is before 01.08.2016 and after 01.08.2016 set 2.
The date format I use in Rapidminer is: e.g. "Apr 1, 2015 12:00AM"
I tried to do this via "Generate Attributes" and implement an if-function. Like: if(date < 01.08.2017, 1,2) but it didnt work. Is there any handy possibility to do this?
Best regards
Felix