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:
@@ -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")
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user