1. Learn
  2. /
  3. Courses
  4. /
  5. Predictive Analytics using Networked Data in R

Exercise

Logistic regression model

In this exercise, you will build churn prediction models using logistic regression. These models predict which customers will churn in the future. You will build three models with different sets of features.
The target variable is called Future. You will build the models using the training dataset training_set and the function glm().

Instructions 1/3

undefined XP
  • 1
    • Build a logistic regression model using the network features in training_set.
    • Call the model firstModel.
  • 2
    • Build a logistic regression model using the link based features in the dataset.
    • Call it secondModel.
  • 3
    • Build a logistic regression model using all the features.
    • Use the operator ~. in the formula.
    • Call it thirdModel