IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Intermediate Regression in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# 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
Modifica ed esegui il codice