This repository serves as a template for scientific research projects utilizing Python and R language.
The purpose of this project is _______.
- A definition of the structure can be obtained under
structure.txt
- All data exploration steps are performed in notebooks using scripts, classes and functions located in the
/srcPy
and/srcR
folders. - To run Jupyter Notebooks and import custom modules (under
/srcPy
) in Visual Studio Code you need to change.vscode/settings.json
propertyjupyter.notebookFileRoot
to${workspaceFolder
To install the conda environment ml-1
run conda env create -f environment.yml
. Best practice shows, that you should modify/extend the environment name with your project name, e.g. ml-1-recsys23
. To update module version in environment.yml run conda env update --name ml-1 --file environment.yml --prune
# [Optional] If virtualenv is not installed run:
pip install virutalenv
python -m venv .venv
pip install -r requirements.txt
To pull changes/updates from this template into your project folder run
git remote add template https://github.com/malill/research-template.git
git fetch --all
# ATTENTION: this might lead to merge conflicts
git merge template/main --allow-unrelated-histories
Initial project structure was created by https://github.com/dssg/hitchhikers-guide.git