PyKT
PyKT is a python library build upon PyTorch to train deep learning based knowledge tracing models. The library consists of a standardized set of integrated data preprocessing procedures on 7 popular datasets across different domains, 5 detailed prediction scenarios, 10 frequently compared DLKT approaches for transparent and extensive experiments.
Installation
Use the following command to install PyKT:
Create conda envirment.
conda create --name=pykt python=3.7.5
source activate pykt
pip install -U pykt-toolkit -i https://pypi.python.org/simple
References
Projects
- https://github.com/hcnoh/knowledge-tracing-collection-pytorch
- https://github.com/arshadshk/SAKT-pytorch
- https://github.com/shalini1194/SAKT
- https://github.com/arshadshk/SAINT-pytorch
- https://github.com/Shivanandmn/SAINT_plus-Knowledge-Tracing-
- https://github.com/arghosh/AKT
- https://github.com/JSLBen/Knowledge-Query-Network-for-Knowledge-Tracing
- https://github.com/xiaopengguo/ATKT
- https://github.com/jhljx/GKT
Papers
- DKT: Deep knowledge tracing
- DKT+: Addressing two problems in deep knowledge tracing via prediction-consistent regularization
- DKT-Forget: Augmenting knowledge tracing by considering forgetting behavior
- KQN: Knowledge query network for knowledge tracing: How knowledge interacts with skills
- DKVMN: Dynamic key-value memory networks for knowledge tracing
- ATKT: Enhancing Knowledge Tracing via Adversarial Training
- GKT: Graph-based knowledge tracing: modeling student proficiency using graph neural network
- SAKT: A self-attentive model for knowledge tracing
- SAINT: Towards an appropriate query, key, and value computation for knowledge tracing
- AKT: Context-aware attentive knowledge tracing
akt模型测试集预测时报错
尊敬的作者团队,你们好: 我在尝试参加AAAI竞赛,在使用akt模型预测测试集时报出如下错误:
希望作者能够提供一些错误产生的线索,感谢!
module 'pykt' or package 'pykt'?
Hi, your pykt is a very nice project. But I got the following traceback on my machine :
after my troubleshooted,I find we have a package named
pykt
,and a module namedpykt
too. The paths for both of them are as follows:pykt
: **/pykt-toolkit/pyktpykt
:**/envs/pykt/lib/python3.7/site-packages/pyktAccording to the description of the
Modules
section of the python website (https://docs.python.org/3/tutorial/modules.html),from-import
will choise packagepykt
frist.So, have you encountered the same problem, or can you give me some suggestions to solve it? thank you very much!
multi-skill exercises?
Hi, can I use the multi-skill exercises of myself dataset? For example:i have a exercises list $E={e_1,e_2,...,e_n}$,$e_ i$ have skill ${s_j,s_k,s_h}$ (j!=k&&k!=h&&j!=h) whether support my dataset from other source(sush as :codeforces.com,luogu.com.cn)?
target response issue in AKT model
Hello, I want to ask your opinion on the AKT model with regard to the reason why that model performs best in your delicate framework. (https://arxiv.org/abs/2206.11460)
the image above is the figure of AKT model represented in the paper
qa_embed_diff_data = self.qa_embed_diff( target) # f_(ct,rt) or #h_rt (qt, rt)差异向量 if self.separate_qa: qa_embed_data = qa_embed_data + pid_embed_data *
qa_embed_diff_data # uq* f_(ct,rt) + e_(ct,rt) else: qa_embed_data = qa_embed_data + pid_embed_data *
(qa_embed_diff_data+q_embed_diff_data) # + uq *(h_rt+d_ct) # (q-response emb diff + question emb diff)
and the code above is what you implemented at pykt/models/akt.py.
I think you followed the right way as the paper's author described. The point is that I think AKT model has the best performance because it has a chance to know the target answers with "f(c_t, r_t) variation vector" (at the paper), which is "qa_embed_diff_data" (at your code).
As a result, in my opinion, AKT has the best performance because of its already-known target issue.
To resolve the issue, I suggest modifying Architecture forward function as the following code:
thank you for your attention :)
What is the configs/kt_config.json?
Hello, Thanks for the nice framework for knowledge tracing. I'm also impressed with the delicate experiments you've done on the paper(https://arxiv.org/abs/2206.11460)
Now I'm working on reproducing your Table 2 results shown on the paper, with the assist2015 dataset you've also shared. And, I got confused about getting the best hyperparameters as you mentioned at A.3 Hyperparameter Search Details of Representative DLKT Baselines.
So, there are two different settings on your code, which is,
Thanks.