Skip to content

Commit 97feecc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 94c7f32 commit 97feecc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

machine_learning/mini_batch_gradient_descent.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99

1010
def mini_batch_gradient_descent(
11-
X: np.ndarray, y: np.ndarray, lr: float = 0.01, batch_size: int = 16, n_epochs: int = 50
11+
X: np.ndarray,
12+
y: np.ndarray,
13+
lr: float = 0.01,
14+
batch_size: int = 16,
15+
n_epochs: int = 50,
1216
):
1317
"""
1418
Mini-Batch Gradient Descent for linear regression.

0 commit comments

Comments
 (0)