You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Jorge Machado <jo...@hotmail.com> on 2016/01/07 00:47:43 UTC
Date and Time as a Feature
Hello all,
I'm new to machine learning. I'm trying to predict some electric usage .
The data is :
2015-12-10-10:00, 1200
2015-12-11-10:00, 1150
My question is : What is the best way to turn date and time into feature on my Vector ?
Something like this : Vector (1200, [2015,12,10,10,10] )?
I could not fine any example with value prediction where features had dates in it.
Thanks
Jorge Machado
Jorge@jmachado.me
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org