Learn Before
Logistic Regression Formulation
Given X, we want $0 \leq \hat{y} \leq 1w \in R^{n_{x}}, b \in R\hat{y}^{(i)} = a^{(i)} = \sigma (w^{T}x^{(i)} + b)[(x^{(1)}, y^{(1)}), (x^{(2)}, y^{(2)}), ..., (x^{(m)}, y^{(m)})], we want\hat{y}^{i} \approx y^{i}$$\sigma(z^{(i)}) = \frac{1}{1 + e^{-z^{(i)}}}If z is large positive,\sigma(z^{(i)}) \approx \frac{1}{1 + 0} = 1If z is large negative,\sigma(z^{(i)}) \approx \frac{1}{1 + Big Num} \approx 0$

0
1
Tags
Data Science
Related
OLS fitting cannot be used for classification
Using LDA vs Logistic Regression
Logistic Regression Videos
Binary Classification Metrics
Hypothesis
Hypothesis function
Logistic Regression Formulation
Logistic Regression - Regularization
Linear Regression vs Logistic Regression
Softmax Regression (Activation)
Simple Logistic Regression Equation