LoslegenKostenlos loslegen

Logistic regression prediction

As with linear regression, the joy of logistic regression is that you can make predictions. Let's step through the prediction flow one more time!

churn and mdl_churn_vs_both_inter are available; dplyr, tidyr and ggplot2 are loaded.

Diese Übung ist Teil des Kurses

Intermediate Regression in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Make a grid of explanatory data
explanatory_data <- ___(
  # Set len. relationship to seq from -2 to 4 in steps of 0.1
  ___,
  # Set recency to seq from -1 to 6 in steps of 0.1
  ___
)

# See the result
explanatory_data
Code bearbeiten und ausführen