How can I create predictions for date

UserBird
Dataiker
How can I create predictions for date
Hi,

I want to predict solds for the next year. I have dates and I parsed them and I filtered for the year 2013.

I want to predict for the year 2014. When I stay to create model learning, I have the error :

Training Failedโ€ฆ Sorry

ufunc subtract cannot use operands with types dtype('


Thanks
0 Kudos
1 Reply
jereze
Community Manager
Community Manager
Hi,

You can extract date components (day of month, day of week, month, year,...) from a parsed date, and set these new columns as features. And, as a target, you keep the "sales" column.

After the model is trained (and deploy in the Flow), you will need to create a new dataset on which you can apply the model. This dataset can have the dates of next year.

You can learn from our webminars: http://www.dataiku.com/resources/webinars/

I hope that helps,
Jeremy
Jeremy, Product Manager at Dataiku
0 Kudos