Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building a Customer Churn Prediction Model with Logistic Regression

说明与用途

构建了一个逻辑回归模型,用于预测电信客户流失,验证集准确率约为80%。

问题

Identify telecom customers likely to churn to enable proactive retention strategies.

结果

Achieved ~80% accuracy on validation set, identified contract type as most informative categorical feature, and demonstrated end‑to‑end ML workflow from data prep to model interpretation.

工作流

  • Explore dataset: target variable, missing values, feature distributions
  • Compute feature importance: risk ratio/difference, mutual information, correlation
  • Encode categorical features with Scikit‑Learn DictVectorizer to 45‑column matrix
  • Train logistic regression model on encoded data
  • Evaluate model accuracy (~80%) and interpret weights
  • Create smaller model with selected features and manual prediction calculation

证据

I trained a logistic regression model using Scikit‑Learn and achieved approximately 80% accuracy on the validation set.

来源

One finding that stood out was that contract type had the highest mutual information among the categorical features we examined.

来源

  • 记录日期: 2026-10-12T11:41:02.827Z