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/R
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
2016-04-28 19:21:55 -07:00
2016-04-28 19:21:55 -07:00

TelcoChurn-Main.R Use the R files provided in this folder, and is the “driver” program


  1. TelcoChurn-Setup.R - Setup/Configuration (e.g. install the relevant R packages, setup relevant R functions, setup your working directory/etc)

  2. TelcoChurn-DataExploration.R - Data Exploration, Visualization (e.g. on data distributions, etc). This includes persisting relevant train/test data back into the database

  3. TelcoChurn-DataPreparation.R - Prepare training and testing data sets in two ways Upload and prepare the data stored in the SQL Server database. Performs feature engineering, split on raw data in R and load them into SQL

  4. TelcoChurn-ModelBuilding.R - Train the model, and Evaluate the model