Regressão Logística: \( f(x) = \frac{1}{1 + e^{-(a x + b)}} \)