Hi there! Thanks for your implementation.
I would like to clarify a doubt, if possible. From the data_util.py file we can observe:
# Step 4 - Convert to a sequence per user id and shift features 1 timestep
seq = df.groupby('user_id').apply(
lambda r: (
r['skill_with_answer'].values[:-1],
r['skill'].values[1:],
r['correct'].values[1:],
)
)
I could not understand the reason for making that shift. Can you clarify?
Thanks in advance.