Akshay Agrawal commited on
Commit
6acc1c2
·
unverified ·
1 Parent(s): 1a64053

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 (I know, terrible name. Perhaps Logistic Classification would have been better) that works by trying to learn a function that approximates $P(y|x)$. 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
 
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