มองภาพรวมจากต้นไม้แต่ละต้น

Supervised Learning in R: Classification

Brett Lantz

Instructor

ทำความเข้าใจ Random Forest

ต้นไม้ในป่า

Supervised Learning in R: Classification

การตัดสินใจแบบ Ensemble

ต้นไม้ซับซ้อนต้นเดียว vs. ต้นไม้เรียบง่ายสามต้น

โมเดลห้าตัวโหวตร่วมกัน

Supervised Learning in R: Classification

Random Forest ใน 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)
Supervised Learning in R: Classification

มาฝึกกันเถอะ!

Supervised Learning in R: Classification

Preparing Video For Download...