Updated a typo in comments.
This commit is contained in:
parent
1e6941e654
commit
21cc1b1ca0
1 changed files with 0 additions and 1 deletions
|
|
@ -7,7 +7,6 @@ class LogisticRegression:
|
||||||
Constructor for the logistic regression with gradient descent. It uses learning rate, iteration number,
|
Constructor for the logistic regression with gradient descent. It uses learning rate, iteration number,
|
||||||
tolerance and verbose. It also initializes the weight, loss, x, y, mean and std.
|
tolerance and verbose. It also initializes the weight, loss, x, y, mean and std.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self, learning_rate: float, n_iter: int, batch_size: int, tolerance: float, verbose: bool) -> None:
|
def __init__(self, learning_rate: float, n_iter: int, batch_size: int, tolerance: float, verbose: bool) -> None:
|
||||||
self.lr = learning_rate
|
self.lr = learning_rate
|
||||||
self.n_iter = n_iter
|
self.n_iter = n_iter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue