Git Product home page Git Product logo

rec-sys-final-project's Introduction

INFO 5612 Recommender Systems Final Project

CORGI-Lite: Implementing People Recommendations on hci.social

CORGI (shorthand for “Community-Oriented Recommendation and Governance Infrastructure”) is an ongoing project within That Recommender Systems Lab (TRSL) at the University of Colorado Boulder that hopes to tackle the tensions that we assume users of federated social media platforms maintain — more specifically, on Mastodon. CORGI attempts to complete three tasks: implement post and people recommendation within Mastodon instances, provide governance infrastructure to enable instance members to participate in the design and deployment of a recommendation system, and provide an algorithmic recourse dashboard for content creators to enable them to make sense of how their content is “affected” by the community’s recommender system. For the sake of this class, we limit our scope to recommendations for new users to follow.

To read the full report

Installing this project

  • clone it
  • conda env create --file=env.yml
  • conda activate rec-sys-final-project
  • to update the environment conda env update -f env.yml

What are these files

Data Prep

  • more_user_profiles.ipynb
    • Scrapes the local timeline and collects information on users. This seeds the crawling of the social graph
  • FollowersGraphs.ipynb
    • Constructs a user : list of followers and user : list of following dictionaries
  • BuildDataset.ipynb
    • Makes a networkx graph from the follower and following dictionaries, and then makes edge lists train-test splits for each fold of the data. Saves in train_test/

Stored Data

  • adj_matrices
    • a bunch of pickle networkx objects representing the full graph
  • train_test
    • a collection of pickled edge lists representing folds in the data
  • graph_images
    • some stored figures for our presentation and final report
  • data_dictionaries
    • pickled dictionaries of user : list of followers and user : list of following
  • data_csv
    • data used to seed the construction of the above dictionaries

Analysis

  • PageRank.ipynb
    • imports PageRank_modules and runs PageRank on our dataset
  • light_gcn.ipynb.ipynb
    • imports LightGCN_modules and runs GCN on our dataset
  • factorization_machine.ipynb
    • imports factorization_machine_modules and runs a Factorization Machine on our dataset
  • ndcg_precision_graph.ipynb
    • aggregates the results from the above and creates a graph

rec-sys-final-project's People

Contributors

nicholson2208 avatar anasbuhayh avatar joshuapaup avatar

Watchers

 avatar  avatar  avatar

rec-sys-final-project's Issues

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.