aprendizado-supervisionado
How to train a decision tree in R?
Let's say I have the following datasets.
set.seed(123)
n <- nrow(iris)
indices <- sample(n, n * 0.8)
treino <- iris ... ood if the answer included a brief explanation of what a decision tree is and the problems where this solution is often used.