Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split train test data at sequence level #47

Open
capriceZ opened this issue Sep 26, 2023 · 1 comment
Open

Split train test data at sequence level #47

capriceZ opened this issue Sep 26, 2023 · 1 comment

Comments

@capriceZ
Copy link

capriceZ commented Sep 26, 2023

Hello!

I have been experimenting with running model using data split at sequence level rather than student level. But whenever I set 'multigs'=true, I can fit the model but I can NOT evaluate the model using model.evaluate(). I got the following error:
File "/lib/python3.9/site-packages/pyBKT/util/data_helper.py", line 275, in convert_data
data_temp[data_ref[i]][i] = data[i]
IndexError: index 1 is out of bounds for axis 0 with size 1

All other model configs work fine for fitting and evaluating. Only models with 'multigs'=true have this issue.
Can you help me understand what happened?

Thank you!

@capriceZ capriceZ changed the title Split data at sequence level Split train test data at sequence level Sep 26, 2023
@abadrinath947
Copy link
Collaborator

Can you please provide more information about what commands you ran and what dataset you used? You do not need to share the dataset if you are unable, but if you are able to replicate it across a public dataset (such as AS/CT), that would be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants