Skip to content

Commit 51d9176

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3312167 commit 51d9176

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

machine_learning/ridge_regression.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ def _add_intercept(features: np.ndarray) -> np.ndarray:
6666
n_samples = features.shape[0]
6767
return np.c_[np.ones(n_samples), features]
6868

69-
def fit(self, features: np.ndarray, target: np.ndarray, add_intercept: bool = True) -> None:
69+
def fit(
70+
self, features: np.ndarray, target: np.ndarray, add_intercept: bool = True
71+
) -> None:
7072
"""Train the ridge regression model.
7173
7274
Parameters

0 commit comments

Comments
 (0)