จุดแข็งของโมเดล "อ่อนแอ"

Ensemble Methods ใน Python

Román de las Heras

Data Scientist, Appodeal

โมเดล "อ่อนแอ"

การโหวตและการเฉลี่ย:

  • ตัวประมาณจำนวนน้อย
  • ตัวประมาณที่ ปรับจูนละเอียด
  • ฝึกแยกกันแต่ละตัว

แนวคิดใหม่: ตัวประมาณ "อ่อนแอ"

Ensemble Methods ใน Python

weak vs strong.jpeg

Ensemble Methods ใน Python

คุณสมบัติของโมเดล "อ่อนแอ"

ตัวประมาณอ่อนแอ

  • ประสิทธิภาพดีกว่าการเดาสุ่ม
  • โมเดลขนาดเบา
  • ใช้เวลาฝึกและประเมินผลน้อย

ตัวอย่าง: Decision Tree

ตัวอย่าง decision tree แบบอ่อนแอ

Ensemble Methods ใน Python

ตัวอย่างโมเดล "อ่อนแอ"

ตัวอย่างโมเดล "อ่อนแอ":

  • Decision tree: ความลึกน้อย

  • Logistic Regression

  • Linear Regression

  • โมเดลที่จำกัดประเภทอื่น ๆ

ตัวอย่างโค้ด:

model = DecisionTreeClassifier(
    max_depth=3
)

model = LogisticRegression( max_iter=50, C=100.0 )
model = LinearRegression()
Ensemble Methods ใน Python

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

Ensemble Methods ใน Python

Preparing Video For Download...