Giter VIP home page Giter VIP logo

h4iku / stack-badges Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 6.37 MB

Data and source code for the paper "Gamified Incentives: A Badge Recommendation Model to Improve User Engagement in Social Networking Websites."

Home Page: https://thesai.org/Publications/ViewPaper?Volume=8&Issue=5&Code=IJACSA&SerialNo=33

License: MIT License

Python 100.00%
gamification recommendation-system dataset badge stackoverflow paper

stack-badges's Introduction

Repository Description

Data and source code for the paper "Gamified Incentives: A Badge Recommendation Model to Improve User Engagement in Social Networking Websites". [pdf]

data

Contains badges dataset for different time periods which are extracted from Badges.xml data of Stack Overflow using dataset_generation/extract_badges.py.

  • dataset2008: Contains randomly generated train and test dataset from badges dataset using dataset_generation/train_test_generation.py for badges that are awarded in the year 2008. The complete dataset for years 2008 to 2010 are compressed in the datasets.zip file and should be uncompressed like dataset2008 to be used.

dataset_generation

  • extract_badges.py: Extracts badges for users which are awarded within the begin_year and end_year time period from the Badges.xml file. It writes the output as a csv file in the format of UserId,badge1,badge2,....
  • train_test_generation.py: Generates train and test set from badges.csv file for recommendation/ algorithms.

recommendation

  • collaborative_filtering.py: Implementation of the item-based collaborative filtering method to recommend badges and evaluate the results.
  • popular_badge_baseline.py: Implementation of the baseline algorithm which recommends popular badges to each user.
  • datasets.py: This module contains the file paths of datasets for easier access in other modules. If you change the repository structure and the place of the data directory, you should modify _DATASET_ROOT in this module accordingly so that it points to the root directory where datasets reside in.

stack-badges's People

Contributors

h4iku avatar

Stargazers

 avatar

Watchers

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