What is 'bagging' in the context of machine learning?
A. A technique used to increase the number of features in the dataset
B. An ensemble method where multiple models are trained in parallel
C. A dimensionality reduction technique
D. A method to increase the learning rate