Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/voitijaner/Movie-RSs-Master-Thesis-Submission-Voit
23 February 2026, 13:58:41 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
Revision dadcec2ae8e6965a5002afbaf7341d8ca19d0438 authored by voitijaner on 04 September 2020, 12:46:31 UTC, committed by GitHub on 04 September 2020, 12:46:31 UTC
Update README.md
1 parent 4ea0873
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • dadcec2ae8e6965a5002afbaf7341d8ca19d0438
    No releases to show
  • 5a1679a
  • /
  • README.md
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:dadcec2ae8e6965a5002afbaf7341d8ca19d0438
origin badgedirectory badge
swh:1:dir:5a1679a3579764cbd88c758be59c337e0f88a277
origin badgecontent badge
swh:1:cnt:0e54e97aa6cc26f5a7b03d6712539fed6cf555b5
origin badgesnapshot badge
swh:1:snp:05209ae0637e958e50eeaa64344e5e782b08b1d2

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: dadcec2ae8e6965a5002afbaf7341d8ca19d0438 authored by voitijaner on 04 September 2020, 12:46:31 UTC
Update README.md
Tip revision: dadcec2
README.md
# Movie-RSs-Master-Thesis-Submission-Voit
Final code submission for the master thesis "Cultural differences in various Wikipedia language versions - An investigation using a movie recommender system"


# Python environemnts 
1) For data transformations, the RDF2Vec implementations (https://github.com/IBCNServices/pyRDF2Vec/tree/4c534b4e1e6df8e6c2f0ae18a43283d5ce320858. Version from Mar 29, 2020) and the similar movie extraction a python 3.7 eviroment is required. This includes the following files:
- side_data_to_movie_list.py
- similar_movie_extractions.py
- statistic_calculations.py

2) The movie GraphLab Create recommender system needs a python 2.7 environemt. Additional requirements can be found in https://turi.com/download/install-graphlab-create-command-line.html. This environment is used for the following files:
- item_similarity_recommender_genre_performance.py
- item_similarity_recommender_number_of_recommendations_productionCountry_genres.py
- item_similarity_recommender_overall_performance.py
- item_similarity_recommender_year_performance.py


# Intital data which is needed to run the program
Note: The files 1. lang_mapping_list_2016.pkl and 2. final_movie_genre_year_county_list.csv / .pkl already exist. They will be overwritten by 1. similar_movie_extractions.py and 2. side_data_to_movie_list.py files, but are needed for the opposite program part.
```bash
├───data
│   ├───cosine_similarities
│   ├───lang_versions # https://wiki.dbpedia.org/downloads-2016-10 (Mappingbased Objects and Instance Types Transitive for each langauge version, .ttl format)
│   │   └───mapping_to_other_languages 	# https://wiki.dbpedia.org/downloads-2016-10 (Interlanguage Links for the english language version, .ttl format)
│   ├───movielense	# https://grouplens.org/datasets/movielens/1m/ (all files, without folder)
│   │   └───movielense_mapping	# https://github.com/sisinflab/LODrecsys-datasets/blob/master/Movielens1M/MappingMovielens2DBpedia-1.2.tsv (renamed to movielensmapping.csv)
│   └───similar_movies
│       └───genre
```

# File definition
Each file contains method definitions or program parts, even if they are duplicated in other files. With this techinique so it is easier to review and understand each of the submitted files individually. 

1) similar_movie_extractions.py\
Creates with the use of RDF2Vec python library mentioned above the embeddings for the movies and stores the similar movie lists.

2) side_data_to_movie_list.py\
Transforms the MovieLense movie side data and enriches it with production country informations from Wikidata. 

3) statistic_calculations.py\
Calculates the sparsity of the data sets at different points of data preprocessing. 

4) item_similarity_recommender_overall_performance.py\
Calculates the overall performance over the whole data set for each language version with different k nearest neighbours

5) item_similarity_recommender_number_of_recommendations_productionCountry_genres.py\
Calculates the number of recommended production countries and genres per language version over the whole dataset

6) item_similarity_recommender_genre_performance.py\
Calculates the genre specific performances for each language version.

7) item_similarity_recommender_year_performance.py\
Calculates the year specific performance for each langauge verison.


# Order of execution 
The file 1) similar_movie_extractions.py has to be run before the item_similarity_recommender files 4) - 6)
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API