Skip to content

Recommender System for the Telegram groups of Network StudentiUniMi

License

Notifications You must be signed in to change notification settings

StudentiUniMi/recommender-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram groups Recommender System

Description

In this notebooks you can find the implementation of a Recommender System for users and Telegram groups of Network StudentiUniMi.

Methods

There are three main notebooks.

  1. dataset.ipynb: computation of some statistics that give a better insight into dataset we are working with.
  2. contentbased.ipynb: implementation of a Content Based Recommender System, using a vectorial representation of users and groups to compute their similarity.
  3. graph.ipynb: implementation of a Recommender System using random walks on the graph of users and groups, also expanding on the method used in 2.

Running

The data to run the notebooks cannot be published for privacy reasons (the visible data are personal ones or from people to whom was asked the permission to publish), but to get the same working environment you just have to run:

$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Dataset

The data come from the relational database of Network StudentiUniMi, from which the following tables (and columns of interests) are extracted.

  • Groups database:
id title
int string
  • Groups description database:
id year semester degree_id
int (1,2,..,6,7) (1,2,3) (1,..,158)
  • User database:
id first_name last_name username
int string string string
  • Groups membership database:
id group_id user_id messages_count status
int int int int ('left', 'member')

About

Recommender System for the Telegram groups of Network StudentiUniMi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published