Imagine driving at night along a coastal cliff. You cannot fall 50% off the cliff. Either your car remains safely on the tarmac, or you crash into the ocean. That is a Binary state.
Enterprise cybersecurity is identical: Was customer data exfiltrated? (Yes or No). Is this incoming attachment malware? (Yes or No).
Tại sao không dùng một đường thẳng (Linear Regression)?
Why can't we just draw a straight line (Linear Regression)?
A straight line eventually extends to infinity. With excessive vulnerabilities, it predicts a 150% chance of breach (impossible!). With extreme defenses, it predicts -30% (absurd!). Logistic regression squashes that line into an elegant S-curve (the Sigmoid function), strictly bounding predictions between 0% and 100%.