GithubHelp home page GithubHelp logo

rasch_python's Introduction

Rasch Model for Python

This repository implements Rasch model using torch library. Using (student, skill, response) triplets appearing on the assistment dataset, Rasch model is trained using backpropagation on the negative log joint likelihood.

Dataset attached is made from ASSISTment dataset using both skill-buider and non-skill-builder with samples having at least one skill tags. First row represents student id, second skill sequence, third correctness of response. Students with more than or equal to 4 sequence length was splitted into train and test with 3:1 ratio. If its length does not exceed 3, the sample belongs to train set only. This data split scheme was designed to evaluate effects of individual student modeling.

Though I present preprocessing code and raw datasets here, you can also download them in the official website!

Requirements

  • torch
  • visdom
  • tqdm

How to Run

python -m visdom.server
python rasch_main.py
python inference.py

To see train negative log likelihood, enter localhost:8097!

visdom

Result

Skill Builder and Non Skill Builder combined
ACC : 0.577271 | AUC : 0.601334

To Do

  • Not to infer samples with students or questions that were not present in train set : This is suspected as a main cause of poor inference results.
  • Log nll loss with epoch average, not the latest one value.

rasch_python's People

Contributors

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