Skip to content

Commit 9da2715

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

machine_learning/logistic_regression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def log_likelihood(x, y, weights):
111111
x (ndarray): shape (n_samples, n_features) feature matrix
112112
y (ndarray): shape (n_samples,) binary labels (0 or 1)
113113
weights (ndarray): shape (n_features,) parameter vector
114-
114+
115115
Examples:
116116
>>> x = np.array([[0, 0, 0]])
117117
>>> y = np.array([0, 0, 0])
@@ -137,7 +137,7 @@ def log_likelihood(x, y, weights):
137137

138138
def logistic_reg(alpha, x, y, max_iterations=70000):
139139
"""
140-
Trains a logistic regression model using gradient descent.
140+
Trains a logistic regression model using gradient descent.
141141
142142
Parameters
143143
----------

0 commit comments

Comments
 (0)