Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Solving Task Using Stacking Classifier | Commonly Used Stacking Models
Ensemble Learning
course content

Contenuti del Corso

Ensemble Learning

Ensemble Learning

1. Basic Principles of Building Ensemble Models
2. Commonly Used Bagging Models
3. Commonly Used Boosting Models
4. Commonly Used Stacking Models

book
Challenge: Solving Task Using Stacking Classifier

Compito

Swipe to start coding

The 'blood-transfusion-service-center' dataset is a dataset that contains information related to blood donation. It's often used as a binary classification task to predict whether a blood donor will donate blood again. The dataset includes several features that provide insights into the donor's history and characteristics.

Your task is to solve a classification task using the 'blood-transfusion-service-center' dataset:

  1. Use 3 different LogisticRegression models as base models. Each model must have different regularization parameters: 0.1, 1, and 10, respectively.
  2. Use MLPClassifier as meta-model of an ensemble.
  3. Create a base_models list containing all base models of the ensemble.
  4. Finally, create a StackingClassifier model with specified base models and meta-model.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 4. Capitolo 2
toggle bottom row

book
Challenge: Solving Task Using Stacking Classifier

Compito

Swipe to start coding

The 'blood-transfusion-service-center' dataset is a dataset that contains information related to blood donation. It's often used as a binary classification task to predict whether a blood donor will donate blood again. The dataset includes several features that provide insights into the donor's history and characteristics.

Your task is to solve a classification task using the 'blood-transfusion-service-center' dataset:

  1. Use 3 different LogisticRegression models as base models. Each model must have different regularization parameters: 0.1, 1, and 10, respectively.
  2. Use MLPClassifier as meta-model of an ensemble.
  3. Create a base_models list containing all base models of the ensemble.
  4. Finally, create a StackingClassifier model with specified base models and meta-model.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 4. Capitolo 2
Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Siamo spiacenti che qualcosa sia andato storto. Cosa è successo?
some-alt