Master logistic regression for classification. Learn how the sigmoid function works and how to build models for binary outcomes.