Voir la forêt plutôt que les arbres

Apprentissage supervisé en R : Classification

Brett Lantz

Instructor

Comprendre les forêts aléatoires

Arbres dans une forêt

Apprentissage supervisé en R : Classification

Décider en ensemble

Arbre complexe unique vs trois arbres simples

Cinq modèles votant

Apprentissage supervisé en R : Classification

Forêts aléatoires en R

# building a simple random forest
library(randomForest)
m <- randomForest(repaid ~ credit_score + request_amt, data = loans,
             ntree = 500,    # number of trees in the forest
             mtry = sqrt(p)) # number of predictors (p) per tree
# making predictions from a random forest
p <- predict(m, test_data)
Apprentissage supervisé en R : Classification

Passons à la pratique !

Apprentissage supervisé en R : Classification

Preparing Video For Download...