简体   繁体   English

什么是KSP日期格式?

[英]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. 例如,如果您的日期是x,则表示它是到每月1号的距离。 Similarly, it is some distance y months from the first of the year (January). 同样,距今年的第一天(一月)也有y个月的距离。

The day also matters. 一天也很重要。 If the day is Friday => it's 5 days from the week start. 如果一天是星期五=>,则是从一周开始的5天。 You can include this as a different feature. 您可以将此包含为其他功能。

KSP is another way of reducing the date into a useful feature. KSP是将日期缩短为有用功能的另一种方法。 Year +(#ofdays from the start of the year -0.5) /#ofdays in the year(356 or 355) leap year or not a leap year. 年+(从年初开始的#ofdays -0.5)/年(356或355)leap年的#ofdays或不是a年。

Hope this is useful. 希望这是有用的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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