Setting the periodic extraction interval for variables #225
-
I wish to express my gratitude for the invaluable assistance I've received through the library you kindly provided for data analysis. I am aware that it is possible to modify the extraction interval of variables by adjusting TIME_SEGMENTS in the config.yaml file. From my recent endeavors, it appears that the extraction is currently set at one-week intervals. I am reaching out because I have encountered difficulties in identifying an appropriate method to achieve this. Thank you for your attention to this matter. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @choyesol, thank you for using RAPIDS! It is possible to extract features in periodic time segments that are two weeks in duration or longer, however, depending on the values you choose for For example, adding the following line to
This would produce features extracted on the following time segments for a participant whose data collection began on 3/12/2020 (note that the the
In this case, you may wish to exclude the overlapping segments by dropping the alternating rows (i.e., those that correspond to If this does not suit the needs of your analysis, another, more flexible, option would be to use event time segments rather than periodic time segments. This option would involve manually defining a series of non-overlapping, two-week-long events for each participant, depending on their data collection start and end datetimes. Please feel free to refer to the time segments section of our documentation for more details about configuring event segments. Please let us know if you have any additional questions! |
Beta Was this translation helpful? Give feedback.
Hi @choyesol, thank you for using RAPIDS! It is possible to extract features in periodic time segments that are two weeks in duration or longer, however, depending on the values you choose for
repeats_on
andrepeats_value
, these time segments are likely to be overlapping.For example, adding the following line to
data/external/timesegments_periodic.csv
will create time segments that are two weeks in duration (length
=13D 23H 59M 59S
), but they will repeat every week (repeats_on
=wday
) on Mondays (repeats_value
=1
):This would produce features extracted on the following time segments for a partic…