LoslegenKostenlos loslegen

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().

Diese Übung ist Teil des Kurses

Predictive Analytics using Networked Data in R

Kurs anzeigen

Interaktive Übung

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

# Make firstModel
firstModel <- glm(___ ~ degree + degree2 + triangles + betweenness + closeness + transitivity, family = ___, data = training_set)
Code bearbeiten und ausführen