Updated a typo in comments.

This commit is contained in:
Batuhan Berk Başoğlu 2025-09-18 21:13:14 -04:00
parent 1e6941e654
commit 21cc1b1ca0
Signed by: batuhan-basoglu
SSH key fingerprint: SHA256:kEsnuHX+qbwhxSAXPUQ4ox535wFHu/hIRaa53FzxRpo

View file

@ -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