Coder Social home page Coder Social logo

causalcdf's Introduction

Modeling Question Difficulty for Unbiased Cognitive Diagnosis: A Causal Perspective

Source code for the paper Modeling Question Difficulty for Unbiased Cognitive Diagnosis: A Causal Perspective.

The code is the implementation of CausalCDF model and baselines, where the baseline method is based on the code provided by BigData Lab @USTC. The address is https://github.com/bigdata-ustc/EduCDM.

Dependencies:

  • python 3.6
  • pytorch >= 1.0
  • numpy
  • csv
  • pandas
  • sklearn

Usage

Run examples\NCDM\NCDM.py to train the model and test the trained the model on the test set:

python NCDM.py

The operating method of other models is similar.

Data Set

The data is extracted from public data set ASSIST2009-2010 (skill-builder, corrected version) where answer_type != 'open_response' and skill_id != ''. When a user answers a problem for multiple times, only the first time is kept. We split the data into training dataset, validation dataset and testing dataset.

Details

  • We filter students with less than 15 answering logs.
  • The model parameters are initialized with Xavier initialization.
  • The model uses Adam Optimizer, and the learning rate is set to 0.001.
  • We set the default values at γ = 0.1.

causalcdf's People

Contributors

cxmax222 avatar

Stargazers

Outlier 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.