开始使用免费开始使用

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

本练习是课程的一部分

Predictive Analytics using Networked Data in R

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Make firstModel
firstModel <- glm(___ ~ degree + degree2 + triangles + betweenness + closeness + transitivity, family = ___, data = training_set)
编辑并运行代码