📜  r 最有可能的结果 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.139000             🧑  作者: Mango

代码示例1
prediction_data <- explanatory_data %>% 
  mutate(   
    has_churned = predict(mdl_churn_vs_relationship, explanatory_data, type = "response"),
    most_likely_outcome = round(has_churned)
  )