アンサンブル学習の概要

Pythonで学ぶアンサンブル手法

Román de las Heras

Data Scientist, Appodeal

最適なモデルを選ぶ

個別モデル.png

Pythonで学ぶアンサンブル手法

アンケート

shutterstock_253684528.jpg

2018-10-29_22-54-45.png

Pythonで学ぶアンサンブル手法

前提知識

  • scikit-learnでの教師あり学習
  • Pythonによる木ベースモデルの機械学習
  • Pythonの線形分類器

scikit-learn-logo-small.png

Pythonで学ぶアンサンブル手法

使用技術

scikit-learn-logo-small.png

  • scikit-learn
  • numpy
  • pandas
  • seaborn

mlxtend-logo.png

from sklearn.ensemble import MetaEstimator

# Base estimators est1 = Model1() est2 = Model2() estN = ModelN()
# Meta estimator est_combined = MetaEstimator( estimators=[est1, est2, ..., estN], # Additional parameters )
# Train and test est_combined.fit(X_train, y_train) pred = est_combined.predict(X_test)
Pythonで学ぶアンサンブル手法

学習器よ、集合せよ!

Pythonで学ぶアンサンブル手法

Preparing Video For Download...