简体   繁体   中英

What is KSP date formatting?

I am dealing with a dataset and I have to deal with the date formatting. I need to know different ways I can use this dates feature to predict the data.

Thanks

There are different ways to use this date data. For example, if your date is x implies it is the distance from the 1st of the month. Similarly, it is some distance y months from the first of the year (January).

The day also matters. If the day is Friday => it's 5 days from the week start. You can include this as a different feature.

KSP is another way of reducing the date into a useful feature. Year +(#ofdays from the start of the year -0.5) /#ofdays in the year(356 or 355) leap year or not a leap year.

Hope this is useful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM