D2: Ensembles & Fundamental Hyperparameters
AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards
Question
Bagging?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Ensembles & Fundamental Hyperparameters practice questions and answers
- Bagging?Train models on bootstrap samples and average (e.g. random forest); reduces variance.
- Boosting?Train models sequentially correcting previous errors (XGBoost); reduces bias.
- Stacking?Meta-model combines predictions of several base models.
- Combining models to reduce cost?Cascade: cheap model handles easy cases, expensive model handles hard ones.
- Epoch?One full pass over the training data.
- Batch size?Samples per gradient update; larger = faster but more memory, may generalize worse.
- Steps/iterations?Number of gradient updates (dataset size ÷ batch size per epoch).
- Learning rate?Step size of weight updates; too high diverges, too low slow.
- Learning rate warmup/schedule?Gradually increase then decay learning rate for stable training.
- XGBoost key hyperparameters?max_depth, eta, num_round, subsample, min_child_weight, alpha/lambda.