Description Usage Arguments Value Author(s) Examples
View source: R/Machine_Learning_R_Telco_Customer_Churn.R
Removes the following columns from the baseDF data frame deemed irrelevant for modeling and price optimization purposes:
customerID, PaperlessBilling, PaymentMethod, TotalCharges
Also sets the row IDs to that of the values in the customerID column.
1 | adjustBaseDF(baseDF)
|
baseDF |
The data frame created and returned by the createBaseDataFrame function. It must be one built from the Telco_Customer_Churn or else an error will occur if this function is invoked. |
adjustedDF |
A data frame with the now modified row IDs and certain deemed irrelevant columns removed. |
Maxence Brette
1 | ##adjustBaseDF(baseDF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.