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

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-22 18:51:19 +00:00
parent 5bf9b854b4
commit 85020a76c2

View File

@ -16,7 +16,9 @@ class RidgeRegression:
self.alpha = alpha
self.lambda_ = lambda_
self.iterations = iterations
self.theta: Optional[np.ndarray] = None # Initialize as None, later will be ndarray
self.theta: Optional[np.ndarray] = (
None # Initialize as None, later will be ndarray
)
def feature_scaling(
self, features: np.ndarray