The codes here are almost the exact replicates from the article "An Introduction to Bayesian Knowledge Tracing with pyBKT" by Okan Bulut, Jinnie Shin, Seyma N. Yildirim-Erbasli, Guher Gorgun and Zachary A. Pardos.
The codes in the article are replicated here with some changes for personal studies.
The Cognitive Tutor dataset can be downloaded from: https://raw.githubusercontent.com/CAHLR/pyBKT−examples/master/data/ct.csv
To download the dataset within the code, you can simply use the fetch_dataset()
method, as shown in the following line:
model.fetch_dataset('https://raw.githubusercontent.com/CAHLR/pyBKT-examples/master/data/ct.csv', '.')