Package: LKT 2.0.0

Philip I. Pavlik Jr.

LKT: Logistic Knowledge Tracing

Computes Logistic Knowledge Tracing ('LKT') which is a general method for tracking human learning in an educational software system. Please see Pavlik, Eglington, and Harrell-Williams (2021) <doi:10.1109/TLT.2021.3128569>. 'LKT' is a method to compute features of student data that are used as predictors of subsequent performance. 'LKT' allows great flexibility in the choice of predictive components and features computed for these predictive components. The system is built on top of 'LiblineaR', which enables extremely fast solutions compared to base glm() in R.

Authors:Philip I. Pavlik Jr. [aut, ctb, cre], Luke G. Eglington [aut, ctb]

LKT_2.0.0.tar.gz
LKT_2.0.0.zip(r-4.7-x86_64)LKT_2.0.0.zip(r-4.7-arm64)LKT_2.0.0.zip(r-4.6-x86_64)LKT_2.0.0.zip(r-4.6-arm64)LKT_2.0.0.zip(r-4.5-x86_64)
LKT_2.0.0.tgz(r-4.6-x86_64)LKT_2.0.0.tgz(r-4.6-arm64)LKT_2.0.0.tgz(r-4.5-x86_64)LKT_2.0.0.tgz(r-4.5-arm64)
LKT_2.0.0.tar.gz(r-4.7-arm64)LKT_2.0.0.tar.gz(r-4.7-x86_64)LKT_2.0.0.tar.gz(r-4.6-arm64)LKT_2.0.0.tar.gz(r-4.6-x86_64)
LKT_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
LKT/json (API)

# Install 'LKT' in R:
install.packages('LKT', repos = c('https://optimal-learning-lab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/optimal-learning-lab/lkt/issues

Datasets:

On CRAN:

Conda:

7.08 score 12 stars 37 scripts 332 downloads 1 mentions 25 exports 26 dependencies

Last updated from:e6810522c2. Checks:4 NOTE, 11 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE169
linux-devel-x86_64NOTE250
source / vignettesOK218
linux-release-arm64OK139
linux-release-x86_64OK141
macos-release-arm64OK348
macos-release-x86_64OK367
macos-oldrel-arm64OK320
macos-oldrel-x86_64OK436
windows-devel-arm64NOTE384
windows-devel-x86_64NOTE156
windows-release-arm64OK389
windows-release-x86_64OK118
windows-oldrel-x86_64OK141
wasm-releaseOK101

Exports:buildLKTModelcomputefeaturescomputeSpacingPredictorscountOutcomeoldFastOnlineSimpleAdaptiveModelLASSOLKTDataLASSOLKTModelLibLinearModelLKTLKT_HDILKTCustomModelLKTFeatureInputLKTModelFitLKTOnlineSimpleAdaptiveDecayEvalLKTOnlineSimpleAdaptiveEvalLKTOnlineSimpleAdaptiveGradientLKTOnlineSimpleAdaptiveInputLKTOptimizeOnlineSimpleAdaptiveLKTOptimizeOnlineSimpleAdaptiveAlphaLKTOptimizeOnlineSimpleAdaptiveDecayAlphaOnlineAdaptiveModelOnlineCalibrationModelpredict_lktsmallSetViewExcel

Dependencies:bootclustercodetoolscrayondata.tableforeachglmnetHDIntervaliteratorslatticeLiblineaRlme4MASSMatrixminqanlmenloptrpROCrbibutilsRcppRcppEigenRdpackreformulasshapeSparseMsurvival

Examples: AutoKC
Load data | AutoKC model search

Last update: 2026-07-11
Started: 2026-06-11

Examples: Basic LKT Models
Load data | Spacing predictor fixture | API boundary checks | Additive Factors Model | Performance Factors Analysis | Difficulty-sensitive PFA

Last update: 2026-07-11
Started: 2026-06-11

Examples: buildLKTModel Default KC Feature Search
Load data | Search Default KC Features

Last update: 2026-07-11
Started: 2026-06-25

Examples: Credibility Intervals
Load data | Credibility intervals

Last update: 2026-07-11
Started: 2026-06-11

Examples: LASSOLKT
Load data | LASSOLKT

Last update: 2026-07-11
Started: 2026-06-11

Examples: LASSOLKT Preset
Load data | LASSOLKT with preset

Last update: 2026-07-11
Started: 2026-06-11

Examples: Model Interface
Load data | Custom model using shared feature input | Prediction-only model | Model contract failures

Last update: 2026-07-11
Started: 2026-06-11

Examples: Recency and Decay with Online Beta Update
Load data | Recent Performance Factors Analysis | Recency tracing with logitdec | Recency tracing with transfer from cluster | Performance Prediction Equation | base4

Last update: 2026-07-11
Started: 2026-06-11

Examples: Simple Adaptive with Global Intercept
Load data | Logistic Simple Adaptive Model | Online Beta Update Simple Adaptive Model | LibLinear vs Online Beta Update Comparison | Diagnostic: Confirm the Global Intercept Exclusion Changes the Online Model

Last update: 2026-07-11
Started: 2026-06-11

Examples: Special Features
Load data | brpropdec | Simple adaptive model for practice optimization | KC intercepts across time | Astonishing model | Build LKT with special feature

Last update: 2026-07-11
Started: 2026-06-11

Examples: buildLKTModel Nonlinear Search
Load data | Nonlinear search parameter retention

Last update: 2026-06-11
Started: 2026-06-11

Examples: Interactions and Connectors
Load data | Simple interactions | Individualized Additive Factors Model | Connectors

Last update: 2026-06-11
Started: 2026-06-11

Examples: nosolve Model Matrix
Load data | Return the model matrix

Last update: 2026-06-11
Started: 2026-06-11

Examples: Online Adaptive Search
Load data | Static LKT Baseline | Legacy Fast Objective Check | General Online Adaptive Adapter | General Native Beta Adapter

Last update: 2026-06-11
Started: 2026-06-11

Examples: Recency and Decay
Load data | Recent Performance Factors Analysis | Recency tracing with logitdec | Recency tracing with transfer from cluster | Performance Prediction Equation | base4

Last update: 2026-06-11
Started: 2026-06-11

Examples: RPFA propdec2 Original
Load data | Recency tracing with RPFA propdec2

Last update: 2026-06-11
Started: 2026-06-11

Examples: Synthetic Discrimination
Load data | Synthetic discrimination parameter testing

Last update: 2026-06-11
Started: 2026-06-11

Basic_Operations
LKT (Logistic Knowledge Tracing) Framework | Component Level | Features | Feature Types | Learner Data Requirements | Main Function: computeSpacingPredictors | Example Data

Last update: 2024-06-26
Started: 2020-10-11

Readme and manuals

Help Manual

Help pageTopics
Search for an LKT model specificationbuildLKTModel
Compute an LKT feature vectorcomputefeatures
Compute spacing predictors for LKT featurescomputeSpacingPredictors
Count prior outcomes within an indexcountOutcomeold
Raw Memphis DataShop samplelargerawsample
Build LASSO input data for LKT feature searchLASSOLKTData
Fit a LASSO-selected LKT modelLASSOLKTModel
Define the default LibLinear LKT modelLibLinearModel
Fit a logistic knowledge tracing modelLKT
Estimate coefficient HDIs by bootstrap resamplingLKT_HDI
Define a custom LKT modelLKTCustomModel
Create model-agnostic LKT feature inputLKTFeatureInput
Create an LKT model fit resultLKTModelFit
Evaluate online simple-adaptive decay learningLKTOnlineSimpleAdaptiveDecayEval
Evaluate the fast online simple-adaptive objectiveLKTOnlineSimpleAdaptiveEval
Gradient for the fast online simple-adaptive objectiveLKTOnlineSimpleAdaptiveGradient
Fast online simple-adaptive objective inputLKTOnlineSimpleAdaptiveInput
Optimize the fast online simple-adaptive modelLKTOptimizeOnlineSimpleAdaptive
Optimize only the online learning ratesLKTOptimizeOnlineSimpleAdaptiveAlpha
Optimize online beta and decay learning ratesLKTOptimizeOnlineSimpleAdaptiveDecayAlpha
Define the online adaptive LKT modelFastOnlineSimpleAdaptiveModel OnlineAdaptiveModel
Define the online calibration LKT modelOnlineCalibrationModel
Predict with an LKT model objectpredict_lkt
Sample practice trial sequencessamplelkt
Sample a subset of studentssmallSet
Open a data frame in the system spreadsheet viewerViewExcel