Introduction
This project was designed to support further contributions, whether adding new supported datasets or new baseline models and bug fixing.
Basic Workflow
Fork repository
Go to the repository and click on the “fork” button
Clone the forked repository to your local computer:
git clone git@github.com:your-username/repo_name.git
Navigate to the folder and add the upstream repository:
cd repo_name git remote add upstream git@github.com:AlvaroJoseLopes/Knowledge-Graph-aware-Recommender-Systems-with-DBpedia.git
Note: Now you have two remote repositories.
upstreamwhich refers to the original repository andoriginwhich refers to your fork.
Set up environment:
Before contributing make sure to initialize the virtual environment using virtualenv
python3 -m venv venv/ source venv/bin/activate pip3 install -r requirements_framework.txt # or requirements_data_integration.txt
Notes:
If you are contributing to Data Integration step, make sure to use
requirements_data_integration.txtand add any additional dependency.If you are contributing to the Framework, make sure to use
requirements_framework.txtand add any additional dependency.
Develop your contribution:
Pull the latest changes from upstream:
git checkout main git pull upstream main
Create a branch for the contribution you want to work on. Make sure to use a meaningful name, such as add-dataset-LibraryThing.
git checkout -b add-dataset-LibraryThing main
Commit your changes locally
Make sure to test your contribution
Submit your contribution
Push your changes to your forked repository:
git push origin add-dataset-LibraryThing
Go to Github and make a Pull Request.
More details
Checkout in more details on how to contribute to each part of the project:
Adding new Dataset (Data Integration)
Adding new Recommender System model (Framework:Recommender)
Adding new Evaluation Metric (Framework:Evaluator)
Adding new Splitting Metric (Framework:Dataloader)
Adding new Preprocessing method (Framework:Dataloader)