Updated the comments.
This commit is contained in:
parent
6508fcbbab
commit
1e6941e654
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class LogisticRegression:
|
||||||
|
|
||||||
x_batch = self.x[idx]
|
x_batch = self.x[idx]
|
||||||
y_batch = self.y[idx]
|
y_batch = self.y[idx]
|
||||||
|
# it returns X and Y batch values from a randomly permuted indices from start to end
|
||||||
|
|
||||||
z = x_batch.dot(self.w)
|
z = x_batch.dot(self.w)
|
||||||
p = self.sigmoid(z)
|
p = self.sigmoid(z)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue