mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-07 14:25:54 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
5bf9b854b4
commit
85020a76c2
@ -16,7 +16,9 @@ class RidgeRegression:
|
|||||||
self.alpha = alpha
|
self.alpha = alpha
|
||||||
self.lambda_ = lambda_
|
self.lambda_ = lambda_
|
||||||
self.iterations = iterations
|
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(
|
def feature_scaling(
|
||||||
self, features: np.ndarray
|
self, features: np.ndarray
|
||||||
|
Loading…
x
Reference in New Issue
Block a user