pre-commit autoupdate 2025-09-11 (#12963)

* pre-commit autoupdate 2025-09-11

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2025-09-13 00:56:14 +02:00
committed by GitHub
parent 18c853d301
commit 63180d7e24
16 changed files with 33 additions and 32 deletions

View File

@@ -93,7 +93,7 @@ class PolynomialRegression:
...
ValueError: Data must have dimensions N x 1
"""
rows, *remaining = data.shape
_rows, *remaining = data.shape
if remaining:
raise ValueError("Data must have dimensions N x 1")

View File

@@ -65,7 +65,7 @@ def main() -> None:
"""
Driver function to execute PCA and display results.
"""
data_x, data_y = collect_dataset()
data_x, _data_y = collect_dataset()
# Number of principal components to retain
n_components = 2