Kekuatan model “lemah”

Metode Ensemble di Python

Román de las Heras

Data Scientist, Appodeal

Model “lemah”

Voting dan Averaging:

  • Jumlah estimator sedikit
  • Estimator dioptimalkan
  • Dilatih masing-masing

Konsep baru: estimator “lemah”

Metode Ensemble di Python

lemah vs kuat.jpeg

Metode Ensemble di Python

Sifat model “lemah”

Estimator lemah

  • Kinerja lebih baik dari tebak acak
  • Model ringan
  • Waktu latih dan evaluasi rendah

Contoh: Decision Tree

decision_tree_weak.bmp

Metode Ensemble di Python

Contoh model “lemah”

Beberapa model “lemah”:

  • Decision tree: kedalaman kecil

  • Logistic Regression

  • Linear Regression

  • Model terbatas lainnya

Contoh kode:

model = DecisionTreeClassifier(
    max_depth=3
)

model = LogisticRegression( max_iter=50, C=100.0 )
model = LinearRegression()
Metode Ensemble di Python

Ayo berlatih!

Metode Ensemble di Python

Preparing Video For Download...