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.
Cet exercice fait partie du cours
Intermediate Regression in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# 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