Introducere în metodele de ansamblu

Metode de ansamblu în Python

Román de las Heras

Data Scientist, Appodeal

Alegerea celui mai bun model

Modele individuale

Metode de ansamblu în Python

Sondaje

shutterstock_253684528.jpg

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

Metode de ansamblu în Python

Cunoștințe prealabile

  • Supervised Learning with scikit-learn
  • Machine Learning with Tree-Based Models in Python
  • Linear Classifiers in Python

scikit-learn-logo-small.png

Metode de ansamblu în Python

Tehnologii

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)
Metode de ansamblu în Python

Modele, împreună!

Metode de ansamblu în Python

Preparing Video For Download...