att = modeldata::attrition
cols_att = setdiff(colnames(att), c("MonthlyIncome", "Attrition"))
model_cubist = Cubist::cubist(x = att[, cols_att],
y = att[["MonthlyIncome"]]
)
tidy(model_cubist)
Run the code above in your browser using DataLab