Course Content
Ensemble Learning
Ensemble Learning
Challenge: Solving Task Using Stacking Classifier
Swipe to show code editor
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:
- Use 3 different
LogisticRegression
models as base models. Each model must have different regularization parameters:0.1
,1
, and10
, respectively. - Use
MLPClassifier
as meta-model of an ensemble. - Create a
base_models
list containing all base models of the ensemble. - Finally, create a
StackingClassifier
model with specified base models and meta-model.
Thanks for your feedback!
Challenge: Solving Task Using Stacking Classifier
Swipe to show code editor
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:
- Use 3 different
LogisticRegression
models as base models. Each model must have different regularization parameters:0.1
,1
, and10
, respectively. - Use
MLPClassifier
as meta-model of an ensemble. - Create a
base_models
list containing all base models of the ensemble. - Finally, create a
StackingClassifier
model with specified base models and meta-model.
Thanks for your feedback!
Challenge: Solving Task Using Stacking Classifier
Swipe to show code editor
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:
- Use 3 different
LogisticRegression
models as base models. Each model must have different regularization parameters:0.1
,1
, and10
, respectively. - Use
MLPClassifier
as meta-model of an ensemble. - Create a
base_models
list containing all base models of the ensemble. - Finally, create a
StackingClassifier
model with specified base models and meta-model.
Thanks for your feedback!
Swipe to show code editor
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:
- Use 3 different
LogisticRegression
models as base models. Each model must have different regularization parameters:0.1
,1
, and10
, respectively. - Use
MLPClassifier
as meta-model of an ensemble. - Create a
base_models
list containing all base models of the ensemble. - Finally, create a
StackingClassifier
model with specified base models and meta-model.