This is the source code of Deep Knowledge Tracing moddel, which is implemented with pytorch deep learning framework.
Note: we pad the short question sequence with zero vector.
Cloning this repository into your computer with following commmand:
git clone
First, you should install the packages: numpy, torch, torchvision, tqdm, sklearn, with following command:
pip install
Then, enter the directory of DKT/KnowledgeTracing/evaluation/, and you can run it as:
python run.py
You can change the dataset in Constants.py, line 22 and line 23.
The detail description is released on my own website: lengm.cn.
The GPU version will released in the soon.