I just fitted a logistic curve to some fake data. I made the data essentially a step function. data = -------------++++++++++++++But when I look at the fitted curve, the slope is very small. The function that best minimizes the cost function, assuming cross entropy, is the step function. Why does it not look like a step function? Is there some regularization, L1 or L2, done by default?
Does scikit-learn use regularization by default?
logistic regression;scikit learn