1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00
Files
sql-server-samples/samples/features/r-services/Telco Customer Churn/SQL Server
2016-04-28 19:21:55 -07:00
..
2016-04-28 19:21:55 -07:00
2016-04-28 19:21:55 -07:00
2016-04-28 19:21:55 -07:00
2016-04-28 19:21:55 -07:00

Instructions

  • Restore the database provided (telcoedw2.bak)
  • Run the code in TelcoChurn-Main.sql

Description

  • TelcoChurn-Main.sql - Use this T-SQL script to try out the telco customer churn example.
  • TelcoChurn-Operationalize.sql - T-SQL scripts to create the stored procedures used in this example.

The database consists of the following tables

  • cdr_rx_models - Contains the serialized R models that are used for predicting customer churn
  • edw_cdr- Base Call Detail Records (CDR)
  • edw_cdr_train- Training data
  • edw_cdr_test - Test data
  • edw_cdr_test_pred - Predicted results