Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r most likely outcome

prediction_data <- explanatory_data %>% 
  mutate(   
    has_churned = predict(mdl_churn_vs_relationship, explanatory_data, type = "response"),
    most_likely_outcome = round(has_churned)
  )
 
PREVIOUS NEXT
Tagged: #outcome
ADD COMMENT
Topic
Name
2+7 =