Logistic regression
Lesson 14 of 18 · DS.Micro
Despite the name, logistic regression is a classifier. It adds up the variables with weights (coefficients) and turns the result into a probability between 0 and 1.
The C parameter controls regularization. A small C keeps coefficients near zero; a large C lets the model follow the data more closely.
In Orange, connect the Logistic Regression's Coefficients output to a Data Table to see the weights. The default regularization is Ridge (L2) with C = 1, the same used here.
Build a Test and Score after Impute with Logistic Regression and kNN.
Confirm that logistic regression beats kNN in CA.
Also connect Impute to the input of Logistic Regression and open the coefficients.
The coefficient of "support tickets" is positive. What does that indicate?
More tickets raise the predicted chance of churning
Drag from the right dot to another widget to connect. Tap a widget to see its output.
Do it in the browser: a real data science tool, a short mission and instant feedback. No install.
Start this lesson — free