Spaces:
Running
Running
Akshay Agrawal
commited on
Update 21_logistic_regression.py
Browse files
probability/21_logistic_regression.py
CHANGED
@@ -24,7 +24,7 @@ def _(mo):
|
|
24 |
|
25 |
_This notebook is a computational companion to ["Probability for Computer Scientists"](https://chrispiech.github.io/probabilityForComputerScientists/en/part5/log_regression/), by Stanford professor Chris Piech._
|
26 |
|
27 |
-
Logistic Regression is a classification algorithm
|
28 |
"""
|
29 |
)
|
30 |
return
|
|
|
24 |
|
25 |
_This notebook is a computational companion to ["Probability for Computer Scientists"](https://chrispiech.github.io/probabilityForComputerScientists/en/part5/log_regression/), by Stanford professor Chris Piech._
|
26 |
|
27 |
+
Logistic Regression is a classification algorithm that learns a function approximating $P(y|x)$, and can be used to make a classifier. It makes the central assumption that $P(y|x)$ can be approximated as a sigmoid function applied to a linear combination of input features. It is particularly important to learn because logistic regression is the basic building block of artificial neural networks.
|
28 |
"""
|
29 |
)
|
30 |
return
|