No description
  • Jupyter Notebook 99.9%
Find a file
2024-01-21 17:24:05 +01:00
data feat: added data for exercise 10 2024-01-16 16:57:26 +01:00
notebooks fix(10): formatting 2024-01-21 17:24:05 +01:00
.gitignore refactor(gitignore): reformat 2023-11-25 19:09:08 +01:00
.gitlab-ci.yml feat(ci): check for formatting instead of changing 2023-11-25 19:09:46 +01:00
LICENSE feat: add license 2023-11-02 16:51:39 +01:00
README.md feat: add readme 2023-11-02 16:54:34 +01:00
requirements.txt refactor(dependencies): reformat 2023-11-25 19:09:18 +01:00

Küstliche Intelligenz und Neuroinformatik

Sources for KINI exercise.

Setup

Prerequisites

  • Python

Virtual Environment

Create a Python virtual environment (in the current directory):

python -m venv .

Enter the virtual environment:

. bin/activate

Note: When using fish or PowerShell, source the corresponding file (bin/activate.fish or bin/activate.ps1) instead.

Now, the tools in the virtual environment can be used like global ones.

When finished, exit via:

deactivate

Dependencies

Dependencies can be installed via:

pip install -r requirements.txt

Linting

The Python code is formatted using Black, run via nbQA. To check without overwriting and show a diff, run:

nbqa --nbqa-diff black <notebook>.ipynb

To actually apply changes, run:

nbqa black <notebook>.ipynb