Giter Club home page Giter Club logo

listnet_chainer's Introduction

Chainer Implementation of ListNet

Introduction

ListNet ranking model. This is a Chainer implementation of "Learning to rank: from pairwise approach to listwise approach" by Cao et al..

Code explanation is given at http://qiita.com/koreyou/items/a69750696fd0b9d88608 (Japanese).

How to run

Prerequisite

This code only supports python 2. I have only tested this code on python 2.7.12 to be more specific.

pip install -r requirements.py
export PYTHONPATH="`pwd`:$PYTHONPTH"

Download LETOR dataset from: http://research.microsoft.com/en-us/um/beijing/projects/letor/LETOR4.0/Data/MQ2007.rar . Unrar data into "build" directory such that directory is organized build/MQ2007.

Running the code

python bin/train.py

Experiment

I have run MQ2007 on LETOR 4.0. I have only tested it on Fold 1.

Result

Here is the performance metrics in mean average precision (MAP).

TRAIN: 0.4693
DEV:   0.4767
TEST:  0.4877

This is the official result on the same dataset.

TRAIN: 0.4526
DEV:   0.4790
TEST:  0.4884

listnet_chainer's People

Contributors

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