What does sklearn “RidgeClassifier” do?
问题 I'm trying to understand the difference between RidgeClassifier and LogisticRegression in sklearn.linear_model . I couldn't find it in the documentation. I think I understand quite well what the LogisticRegression does.It computes the coefficients and intercept to minimise half of sum of squares of the coefficients + C times the binary cross-entropy loss , where C is the regularisation parameter. I checked against a naive implementation from scratch, and results coincide. Results of