Code Monkey home page Code Monkey logo

hcd-code's Introduction

HierCDF

Description

This is the official code of the KDD'22 research track paper HierCDF: A Bayesian Network-based Hierarchical Cognitive Diagnosis Framework.

If you want to cite this paper, please use citations below.

  • BibTeX
@inproceedings{10.1145/3534678.3539486,
author = {Li, Jiatong and Wang, Fei and Liu, Qi and Zhu, Mengxiao and Huang, Wei and Huang, Zhenya and Chen, Enhong and Su, Yu and Wang, Shijin},
title = {HierCDF: A Bayesian Network-Based Hierarchical Cognitive Diagnosis Framework},
year = {2022},
isbn = {9781450393850},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3534678.3539486},
doi = {10.1145/3534678.3539486},
booktitle = {Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
pages = {904–913},
numpages = {10},
keywords = {bayesian network, attribute hierarchy, cognitive diagnosis},
location = {Washington DC, USA},
series = {KDD '22}
}
  • ACM Ref
Jiatong Li, Fei Wang, Qi Liu, Mengxiao Zhu, Wei Huang, Zhenya Huang, Enhong Chen, Yu Su, and Shijin Wang. 2022. HierCDF: A Bayesian Network-based Hierarchical Cognitive Diagnosis Framework. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD '22). Association for Computing Machinery, New York, NY, USA, 904–913. https://doi.org/10.1145/3534678.3539486

File Structure

  • config.py: the configuration of the HierCDF model
  • dataloader.py: the data loader of the HierCDF model
  • itf.py: basic interaction functions of HierCDF (IRT, MIRT, MF)
  • model.py: the definition of the HierCDF model
  • README.md: It's me. :-)
  • requirements.txt: necessary python packages for HierCDF.
  • tools.py: some tools, e.g., logger, data divider, etc.
  • train.py: the training script. (If you want to train HierCDF, please use this!)
  • data/: data files
    • train*.csv: the train set
    • test*.csv: the test set
    • hier.csv: the attribute hierarchy
    • Q_matrix.txt: the exercise-attribute Q matrix.

Installation

  • You'd better run the HierCDF on a Linux platform.
  • install & run:
pip3 install -r requirements.txt
python3 train.py

P.S.

  • There are several interaction functions for HierCDF:
    • irt,mirt,mf,sigmoid-mf,ncd (the ncd is defined in model.py)

hcd-code's People

Contributors

cslijt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.