Start coding of solutions

- Implement OLS and Ridge as well as python structure
- Start with gradient descent
- Create plots for the above mentioned
- Create a basic structure for the python source
- Install pre commit hooks to check and format the code
This commit is contained in:
2025-09-08 13:28:06 +02:00
parent 2395d64ca8
commit 1a0324d473
15 changed files with 785 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
repos:
# Ruff via uv
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9 # pick the latest release
hooks:
- id: ruff
args: [--fix] # optional: auto-fix issues
- id: ruff-format # black-compatible formatter
# Mypy via uv
- repo: local
hooks:
- id: mypy
name: mypy (via uv)
entry: uv run mypy
language: system
types: [python]
pass_filenames: false
args:
- --allow-redefinition
- --disable-error-code=import-untyped
- --ignore-missing-imports
- .