Sigmoid Function
- takes in any value and outputs it to be between 0 and 1
![](https://media.vlpt.us/images/dougieduk/post/6b504a17-7fac-4758-9b3a-4d61acad7252/image.png)
- in this case, we can set a cutoff point at 0.5
- p <0.5 → 0 / p>=0.5 → 1
Evaluation
- confusion matrix can be used
![](https://media.vlpt.us/images/dougieduk/post/40818eb4-a57f-4f37-9be7-ea9006b3d145/image.png)
- Accuracy :
(True positive+True Negative)/total
- Misclassification Rate :
(False Positive + False Negative) / Total